Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate list in list search

 
Vladimir Koba
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic