-->
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.  [ 3 posts ] 
Author Message
 Post subject: Problem with the Associations.
PostPosted: Wed Jun 29, 2011 2:03 am 
Newbie

Joined: Wed Jun 29, 2011 1:57 am
Posts: 3
Hi,

I am mapping few tables using xml based associations. The Condition is such that, when I fetch the data, the data need to be fetched with the condition that the deleted column should be 0 in all the tables, but I can give condition on the main query, so, the cascade select, would apply the filter condition on the first table only. Is it possible somehow, that the condition is applied on all the mapped tables with cascade select.

Thanks in Advance..


Top
 Profile  
 
 Post subject: Re: Problem with the Associations.
PostPosted: Wed Jun 29, 2011 4:47 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
This seems to be a question for the Hibernate User forum not fore Hibernate Search or Validator. But even on the Hibernate User forum you would need to give some more information. How do your entities look like.


Top
 Profile  
 
 Post subject: Re: Problem with the Associations.
PostPosted: Wed Jun 29, 2011 5:42 am 
Newbie

Joined: Wed Jun 29, 2011 1:57 am
Posts: 3
Thanks..


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