Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes hibernate list in list search Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate list in list search" Watch "hibernate list in list search" New topic
Author

hibernate list in list search

Vladimir Koba
Greenhorn

Joined: May 29, 2012
Posts: 4
Hi folks!
I've a class User:


And enum with user privileges:



I need a HQL query, which return all users, who has all priviligies by set.
Rougtly,

My query:
,

And execute:


I've an error:

I have'nt idea, why "No value specified for parameter 1"..
thanks in advance!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: hibernate list in list search
 
Similar Threads
Column 'id0_' not found Error
Hibernate error
Hibernate: Column not found. org.hibernate.exception.GenericJDBCException
Problem with Enums
parameter not set!