-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Core or JPA2 Interface
PostPosted: Tue Jul 13, 2010 3:10 pm 
Newbie

Joined: Thu May 28, 2009 12:28 pm
Posts: 11
What does the hibernate team recommends to use? EntityManager approach with JPA or Session with "Core" Hibernate?

About mappings:
Does the XML mapping have any features that the JPA2 annotation mapping (even with the Hibernate Annotations too) does not?

About Criteria:
Now JPA2 have the famous Criteria Queries, it's pretty damn ugly (almost a worldwide fact), Hibernate have the old and good looking Criteria. My question is: what's about the Hibernate's Criteria future? Is it "deprecated"? is it better or worse than the JPA2 verbose/robust one? I think that Gavin King himself said that JPA2 criteria is better and should be used instead hibernate criteria. So I ask again, is it deprecated and now from on we should stick with the JPA2 criteria?

What do you guys recommend? I'm using Hibernate anyways, I just want to know what approach is a better one, or if there are any particular scenarios that one is better than another. (Hibernate 3.5.x)


Top
 Profile  
 
 Post subject: Re: Hibernate Core or JPA2 Interface
PostPosted: Thu Jul 22, 2010 1:32 pm 
Newbie

Joined: Thu May 28, 2009 12:28 pm
Posts: 11
No one have opinions about this? :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.