This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HQL query for multiple conditions met

 
Shinu Pil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i need to retrieve record from employee table with employeeName ="test" age ="25" date ="01-1-2012" whose all conditions met. here employee name,age ,date of joining comes from search functionality from jsp.(searchString1,searchString2,searchString3)
String searchCritiria1="employeeName"
String searchCritiria2="age"
String date="01-01-12"
this piece of query i tried for one condition met .it working fine,but i donot know HQLquery for the above conditions met



please help ..iam beginner in this
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic