Top Description Methods
org.eclipse.persistence.jpa

public Interface JpaCriteriaBuilder

extends CriteriaBuilder
Known Direct Implementers
org.eclipse.persistence.internal.jpa.querydef.CriteriaBuilderImpl
Imports
jakarta.persistence.criteria.Expression

PUBLIC: EclipseLInk specific JPA Criteria interface. Provides the functionality defined in jakarta.persistence.criteria.CriteriaBuilder and adds EclipseLink specific functionality.

Method Summary

Modifier and TypeMethod and Description
public <T> Expression<T>
fromExpression(Expression expression, Class<T> type)

ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.

public Expression<T>
fromExpression(Expression expression)

ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.

public Expression
toExpression(Expression<T> expression)

ADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object.

Inherited from jakarta.persistence.criteria.CriteriaBuilder:
absallandandanyarrayascavgbetweenbetweenceilingcoalescecoalescecoalesceconcatconcatconcatconjunctionconstructcountcountDistinctcreateCriteriaDeletecreateCriteriaUpdatecreateQuerycreateQuerycreateTupleQuerycurrentDatecurrentTimecurrentTimestampdescdiffdiffdiffdisjunctionequalequalexistsexpfloorfunctiongegegreaterThangreaterThangreaterThanOrEqualTogreaterThanOrEqualTogreatestgtgtinisEmptyisFalseisMemberisMemberisNotEmptyisNotMemberisNotMemberisNotNullisNullisTruekeysleleleastlengthlessThanlessThanlessThanOrEqualTolessThanOrEqualTolikelikelikelikelikelikeliterallnlocalDatelocalDateTimelocalTimelocatelocatelocatelocatelowerltltmaxminmodmodmodnegnotnotEqualnotEqualnotLikenotLikenotLikenotLikenotLikenotLikenullifnullifnullLiteralororparameterparameterpowerpowerprodprodprodquotquotquotroundselectCaseselectCasesignsizesizesomesqrtsubstringsubstringsubstringsubstringsumsumsumsumsumAsDoublesumAsLongtoBigDecimaltoBigIntegertoDoubletoFloattoIntegertoLongtoStringtreattreattreattreattreattreattreattrimtrimtrimtrimtrimtrimtupleuppervalues

Method Detail

fromExpressionback to summary
public <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.

fromExpressionback to summary
public Expression<T> 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.

toExpressionback to summary
public Expression toExpression(Expression<T> 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.