• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IFNULL() in HQL

 
Navin Pillu
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I want an option of IFNULL of MySQL in HQL. Please let me know if anybody has any idea about this.

Thanks
Navin
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't be done in HQL. Its easy enough to check a value is null, but procedure logic is not really something you should be doing with an ORM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic