-->
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: Criteria Queries - more then one associated Object with AND
PostPosted: Thu Jul 05, 2007 5:58 am 
Newbie

Joined: Fri May 25, 2007 6:37 am
Posts: 2
Hi,
Problem: I have to get all objects from Database via Criteria Queries, that contains any objects in a collection. If it's one object or a disjunction its not a problem. But how do i create a conjunction?
Example: An User-Object has roles as Set. I want to get a list of all users, who have the roles 'Admin' AND 'Originator'.

I don't wangle it. Have someone any ideas?

Thanks in advance


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.