Interface JpaCriteriaBuilder

  • All Superinterfaces:
    CriteriaBuilder

    public interface JpaCriteriaBuilder
    extends CriteriaBuilder
    PUBLIC: EclipseLInk specific JPA Criteria interface. Provides the functionality defined in javax.persistence.criteria.CriteriaBuilder and adds EclipseLink specific functionality.
    • Method Detail

      • fromExpression

        <T> Expression<T> fromExpression​(Expression expression,
                                         java.lang.Class<T> type)
        ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.
      • fromExpression

        Expression fromExpression​(Expression expression)
        ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.
      • toExpression

        Expression toExpression​(Expression expression)
        ADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object. This allows for roots and paths defined in the Criteria to be used with EclipseLink native API Expresions.