Expression
- Type Parameters:
<T>
- the type of the expression
- Super Interfaces:
Selection<T>
,TupleElement<T>
Type for query expressions.
- Since:
- JPA 2.0
The JPA Query Expressions (JPQL / Criteria) article explains how to use
Expression
.Public Methods
This method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure.
- Parameters:
type
- intended type of the expression
- Return:
- new expression of the given type
- Since:
- JPA 2.0
- Parameters:
values
- collection of values to be tested against
- Return:
- predicate testing for membership
- Since:
- JPA 2.0
- Parameters:
values
- expressions to be tested against
- Return:
- predicate testing for membership
- Since:
- JPA 2.0
- Parameters:
values
- expression corresponding to collection to be tested against
- Return:
- predicate testing for membership
- Since:
- JPA 2.0
- Parameters:
values
- values to be tested against
- Return:
- predicate testing for membership
- Since:
- JPA 2.0