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

    Modifier and Type
    Method
    Description
    Compile the query.
    Convert the query to a JPQL-like string.

    Methods inherited from interface jakarta.persistence.criteria.AbstractQuery

    from, from, getGroupList, getGroupRestriction, getResultType, getRoots, getSelection, isDistinct

    Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria

    getRestriction, subquery

    Methods inherited from interface jakarta.persistence.criteria.CriteriaQuery

    distinct, getOrderList, getParameters, groupBy, groupBy, having, having, multiselect, multiselect, orderBy, orderBy, select, where, where
  • Method Details

    • 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

      Compile the query.
      Returns:
      the same instance compiled.