Interface OpenJPACriteriaQuery<T>
- 
- Type Parameters:
 T- type of result returned by this query
- All Superinterfaces:
 jakarta.persistence.criteria.AbstractQuery<T>,jakarta.persistence.criteria.CommonAbstractCriteria,jakarta.persistence.criteria.CriteriaQuery<T>
public interface OpenJPACriteriaQuery<T> extends jakarta.persistence.criteria.CriteriaQuery<T>OpenJPA-specific extension to JPA 2.0 Criteria Query API.- Since:
 - 2.0.0
 - Author:
 - Pinaki Poddar
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenJPACriteriaQuery<T>compile()Compile the query.StringtoCQL()Convert the query to a JPQL-like string.- 
Methods inherited from interface jakarta.persistence.criteria.AbstractQuery
from, from, getGroupList, getGroupRestriction, getResultType, getRoots, getSelection, isDistinct 
 - 
 
 - 
 
- 
- 
Method Detail
- 
toCQL
String toCQL()
Convert the query to a JPQL-like string. The conversion of Criteria Query may not be an exact JPQL string.- Returns:
 - a JPQL-like string.
 
 
- 
compile
OpenJPACriteriaQuery<T> compile()
Compile the query.- Returns:
 - the same instance compiled.
 
 
 - 
 
 -