-->
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: Hibernate3 Crieria API
PostPosted: Sun Sep 05, 2004 7:37 pm 
Pro
Pro

Joined: Tue Aug 26, 2003 8:07 pm
Posts: 229
Location: Brisbane, Australia
Currently (I believe) in Hibernate 2, the criteria API generates SQL directly (no HQL involved).

In Hibernate 3, is the Criteria API being rewritten at all to take advantage of the code behind AST-based HQL parser?

Specifically, what I'm wondering is if the Criteria API will now generate a syntax tree that will be fed to the SQL generator?

In case you can't tell; I don't know squat about parsers or parsing terminology. All I really want to know is if the Criteria API is being significantly re-worked for Hibernate 3. Also, if not for Hibernate 3, are there any plans to do something like this to the Criteria API eventually?

_________________
Cheers,
Shorn.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 7:45 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Improvements to Criteria stuff in Hibernate 3.1, as per the road map.

Currently I don't see much advantage in using the AST for Criteria queries.


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.