Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg : Criteria having where clause?

 
Barry Van
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

Criteria having where clause? if have give me example hibernate query using criteria where clause?
 
P Crasta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dude this is what you need.. in criteria we add restrictions, its like the where clause




hibernate docs is the best first place to look at.. this is where i picked this example from

http://www.hibernate.org/hib_docs/reference/en/html/querycriteria-narrowing.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic