literal(value) - JPA CriteriaBuilder's method

Create an expression for a literal.
Parameters:
value - value represented by the expression
Returns:
expression literal
Throws:
IllegalArgumentException - if value is null
Since:
JPA 2.0