• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg : Criteria having where clause?  RSS feed

 
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
Boost this thread!