-->
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: Help needed on HQL
PostPosted: Thu Feb 17, 2005 4:45 am 
Newbie

Joined: Mon Feb 07, 2005 10:26 am
Posts: 9
Hello,

I need your help for a query in HQL involving 3 classes.

class Configuration {
Long id;
Set<Item> items;
}

class Item {
Long id;
Configuration configuration;
Set<Translation> translations;
}

class Translation {
Long id;
Item item;
Locale locale;
...
}

I'm looking for Item, for a given Configuration, that don't have any Translation for a given locale.
Thanks in advance.
Francois


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 17, 2005 11:33 am 
Regular
Regular

Joined: Thu Oct 07, 2004 4:45 pm
Posts: 92
Look for examples in HQL/SQL that use "EXISTS" with a sub-query.


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.