Define criteria in terms of hibernate.



Define criteria in terms of hibernate...

Answer / Deepika Raj

In Hibernate, Criteria is an API to build dynamic queries programmatically. It offers a more flexible and powerful alternative to querying using HQL or SQL strings. Criteria queries are built incrementally by creating instances of various subinterfaces (such as Criteria, ProjectionListCriteria, etc.) and calling their methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Why hibernate came into existence?

1 Answers  


How many types of transaction are there in hibernate?

1 Answers  


Explain the difference between hibernate and spring.

1 Answers  


How to invoke a stored procedure in hibernate?

1 Answers  


How will you integrate hibernate with spring framework?

1 Answers  


What is the use of @transient annotation?

1 Answers  


What is difference between lazy loading and eager loading in hibernate?

1 Answers  


What hibernate save returns?

1 Answers  


What is the purpose of dialect configured in hibernate configuration file?

1 Answers  


What are concurrency strategies in hibernate?

1 Answers  


Is a relationship in hibernate?

1 Answers  


What is mappedby in hibernate?

1 Answers  


Categories