-->
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.  [ 4 posts ] 
Author Message
 Post subject: JPA equivalent to "with clause"
PostPosted: Thu Oct 12, 2006 1:06 pm 
Newbie

Joined: Thu Jan 12, 2006 7:41 am
Posts: 10
Location: Lyon - France
Does anybody knows if "with clause" is possible with JPA when using a join ? Here's the example from the hibernate documentation with HQL :

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


Olivier.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 12, 2006 4:05 pm 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Why not simply try it?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 13, 2006 11:19 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This will work with HEM, but not with our fellow competitors :-)

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 13, 2006 12:24 pm 
Newbie

Joined: Thu Jan 12, 2006 7:41 am
Posts: 10
Location: Lyon - France
Thanks Emmanuel for the response. That's exactly what I wanted to know !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.