Joined: Sun Apr 11, 2010 6:28 am Posts: 2
|
Hi! I am having some troubles understanding the current "way to go" for hibernate. I've always used hibernate session (sometimes with spring templates) so far. But now hibernate-entitymanager seems to be a lot more appealing (JPA 2.0).
From my understanding the hibernate entitymanager somehow wraps arround the basic (session) core, is that correct? So it seems a little bit strange for me to use the entitymanager if it just wraps arround the core which i could use myself. I can't see a point in doing that (except that i whould have no direct dependency on hibernate then) maybe you could help me understand?
Could you please summarize for me the pros/cons of using hibernate session against using entitymanager?
|
|