This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How To Add Some IF/Else or Case Checks in Hibernate Query

 
Tarun wadhwa
Greenhorn
Posts: 14
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Want to write some query in which i have to fetch data from different tables and i have some check to be implemented
As in programming we have IF ELSE conditional checks to alter the flow similarly i want to put some checks in Hibernate
Query Language so i hope some on will Guide Me ASAP

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give an example? Conditionals with if/else are rarely the correct solution in a query.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic