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.  [ 1 post ] 
Author Message
 Post subject: Eliminating rows more than one level deep in a hierarchy
PostPosted: Wed Dec 08, 2004 2:16 pm 
Newbie

Joined: Wed Dec 08, 2004 1:58 pm
Posts: 7
Hibernate version:2.0

What I'm trying to do is to eliminate rows that have expire date populated from a hierarchy using just standard mapping or HQL. For instance A1 has a collection of B1 and B1 has a collection of C1. If I get all of A1 I'd like the collection of B1's to be with out expired records, and all their collections of C1's to also be free of records with the expire date populated. Is there a way to do this with HQL?

It would have been good if I could have done it some way through the mapping so that any finder would not return expired records.

Thanks,
Dan


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

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.