• Post Reply Bookmark Topic Watch Topic
  • New Topic

mixed null properties in Restrictions?

 
Elhanan Maayan
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..

at times i pass to hiberate Restrictions eq and in operators API an object which may contain null values in some of it's properties, hibernate still converts this in = in sql and not is, is there a way to get around this?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!