setParameter(param, value) - JPA TypedQuery's method

Method
javax.persistence.TypedQuery
TypedQuery<X> setParameter(
  Parameter<T> param,
  T value
)

Bind the value of a Parameter object.
Parameters:
param - parameter object
value - parameter value
Returns:
the same query instance
Throws:
IllegalArgumentException - if the parameter does not correspond to a parameter of the query
Since:
JPA 2.0