Hibernate Criteria Query Language (HCQL)

HCQL:

HCQL stands for Hibernate Criteria Query Language. As we discussed HQL provides a way of manipulating data using objects instead of database tables. Hibernate also provides more object oriented alternative ways of HQL. Hibernate Criteria API provides one of these alternatives. HCQL is mainly used in search operations and works on filtration rules and logical conditions.

The Criteria interface, Restrictions class and Order class provides the methods and functionality to perform HCQL operations. The Criteria interface object can be created by createCriteria() method of Session interface.

Syntax: Criteria cr = session.createCriteria(persistantClassName.class);

List of Hibernate Criteria Query Language:

Hibernate criteria basic query example.
Hibernate criteria query example tutorial. Let us discuss criteria simple query in hibernate with example.
Hibernate criteria restrictions query example.
Hibernate criteria restrictions query example tutorial. Let us discuss criteria restrictions query in hibernate with example.
Hibernate criteria ordering query example.
Hibernate criteria ordering query example tutorial. Let us discuss criteria ordering query in hibernate with example.
Hibernate criteria pagination query example.
Hibernate criteria pagination query example tutorial. Let us discuss criteria pagination query in hibernate with example.
Hibernate criteria projections query example.
Hibernate criteria projections query example tutorial. Let us discuss criteria projections query in hibernate with example.

 
Next Topic: Hibernate criteria basic query example.
Previous Topic: Hibernate Query Language (HQL) with example.

Related Topics:

How to build java project using ant in eclipse?
JAXB marshalling – convert java object to xml example.
How to create pdf file in java using iText jar?
Generics class example.
OGNL in struts 2.
Hibernate One-to-One Mapping using xml.
Send inline image in email using JavaMail API.
Quartz 2 JobListener example.