-->
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: How does "contains" work with extra lazy collection?
PostPosted: Thu Nov 22, 2012 7:09 pm 
Regular
Regular

Joined: Wed Jan 21, 2009 8:41 pm
Posts: 54
Can anybody explain how when using an extra lazy collection contains is suppose to work?

Specifically if you are using synthetic primary keys what is "contains" actually going to compare with or how can I get it to compare using natural key identifiers instead of synthetic ones.

In my use case the thing I want to ask if it contains has no primary key identifier at the time I make my comparison so I cannot say to my collection does it contain this thing based on it's synthetic primary key.

I want to be able to have extra lazy collection that allows me to to control how the existing check on my object is performed and one that doesn't rely on the join properties of the collection as those are all synthetic.

Make sense?


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.