Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes Hibernate Sub query inside case when statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Sub query inside case when statement" Watch "Hibernate Sub query inside case when statement" New topic
Author

Hibernate Sub query inside case when statement

Cj Recto
Greenhorn

Joined: Mar 02, 2012
Posts: 26
Do you know how to execute HQL with subquery inside case when statement

Here is my code:



Any help is appreciated. Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate Sub query inside case when statement