-->
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: Criteria equivalent of HQL join "With" Keyword
PostPosted: Mon Aug 18, 2008 10:32 am 
Newbie

Joined: Mon Aug 18, 2008 10:19 am
Posts: 5
Hi,

I need to use the equivalent on the HQL "With" keyword in the criteria API but I don't know how to do it.

The query I need to recreate is similar to the example

from Cat as cat
left join cat.kittens as kitten
with kitten.bodyWeight > 10.0


But I need the criteria api to build some dynamic where conditions.

Any help with this would be greatly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 18, 2008 1:08 pm 
Newbie

Joined: Mon Jul 21, 2008 5:12 am
Posts: 13
I already posted this question here : http://forum.hibernate.org/viewtopic.php?p=2390843
But it seems that no one has this issue...[/url]


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.