What is criteria API?

Hi,

What is criteria API?

Thanks,

View Answers

April 17, 2013 at 5:37 PM

Hi,

The Hibernate statistics is one of the most usable feature of Hibernate, having some hidden concepts, is the power to collect statistics. It implements primarily to development (staging) environments and provides a complete aspect of the Hibernate work and performance.

For more related Hibernate features

Thanks,


April 17, 2013 at 5:45 PM

Hi,

The API (Application Programming Interface) of Hibernate Criteria provides an elegant way of building dynamic query on the persistence database. The hibernate criteria API is very Simplified API for fetching data from Criterion objects. The Hibernate Criteria API contains Restriction class. By using this class you can add restriction on your query.

For more about Hibernate criteria API visit the below link:

http://www.roseindia.net/hibernate/examples/criteria/hibernatecriteriaapi.html

Thanks,









Related Tutorials/Questions & Answers:
Advertisements