Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem IN clause in HQL query

 
Oscar Calderon
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all, i'm working with Hibernate JPA right now and i have a problem. Basically, i have a named query in my entity, this named query is the next:



The problem is about the IN clause, where i want to find a parameter in a list of the entity (WbkOpcionesMenu). I read some examples where people does opposite, that is, something like:



So i don't know if isn't possible in the way that i want or if i have to change something in my query. Oops, the stack trace is this (ERROR message is in spanish but it means missing expression):



THanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic