• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using exists operator in Hibernate

 
shashi nela
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a finder method which passes a list like this. I have to retreive the an object from this list. the Query is something like this


Where lisJob list holds Integer objects and cnfgId is a integer.
Can anyone help me on this? If i use in operator instead of exists this is working but i need to to use exists operator.

I am not able to know whether my syntax is right or whether i am using the right method to retreive objects. Even in hibernate doc it is not mentioned clearly.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!