• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

Hibernate (query and criteria)

Hello expert,

what is difference between query and criteria in hibernate,  what is the need of the criteria . can criteria be set in query.



roy_sanu
0
roy_sanu
Asked:
roy_sanu
1 Solution
 
Sharon SethCommented:
criteria is part of the query . While a query defines a complete data set that needs to be retrieved , criteria indicates on what basis this dataset needs to be retrieved
0
 
Amitkumar PSr. ConsultantCommented:
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now