-->
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: Criterial api on Composite-element
PostPosted: Wed Aug 17, 2005 1:10 pm 
Beginner
Beginner

Joined: Wed Jul 06, 2005 4:51 pm
Posts: 27
Is there a way to use Criteria api on relationships listed using composite-element rather than one-to-many?

I have
<class name="A"...
...
....
<set name="B" table...>
<composite-element class="C"...>
</composite-element>
</set>
</class>

Tried doing criteriaInstance.createCriteria("B") and got error that B is not a relationship which makes sense. But how can I build criteria to filer for the composite element


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 4:06 pm 
Beginner
Beginner

Joined: Wed Jul 06, 2005 4:51 pm
Posts: 27
k, I think it is not possible based on Gavin's reply from this thread. I think this would be a useful functionality.

http://forum.hibernate.org/viewtopic.php?t=931999


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.