Interface JpaCriteriaBuilder

All Superinterfaces:
CriteriaBuilder
All Known Implementing Classes:
CriteriaBuilderImpl

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

    • fromExpression

      <T> Expression<T> fromExpression(Expression expression, 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.