Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and persistence

 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EJB we have CMP and BMP. Here for Hibernate does it utilize a mechanism more like CMP or BMP ??
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well in EJB 3.0 it would be more like CMP. But either way, you just have a Session and DTOs that are mapped to the database, and Hibernate will generate SQL, or you can use HQL or write your own SQL that executes through the Session.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic