JPA Method
in javax.persistence.criteria.CriteriaBuilder

ParameterExpression<T> parameter(
  Class<T> paramClass, 
  String name
)


Create a parameter expression with the given name.
Parameters:
paramClass - parameter class
name - name that can be used to refer to the parameter
Return:
parameter expression
Since:
JPA 2.0