Expression<T> literal(
T value
)
Create an expression for a literal.
- Parameters:
value
- value represented by the expression
- Return:
- expression literal
- Throws:
- IllegalArgumentException - if value is null
- Since:
- JPA 2.0
value
- value represented by the expression