setParameter(name, value, temporalType) - JPA TypedQuery's method
Method javax.persistence.TypedQuery
TypedQuery<X> setParameter(
String name,
Calendar value,
TemporalType temporalType
)
Bind an instance of
java.util.Calendar
to a named parameter. - Parameters:
-
name
- parameter namevalue
- parameter valuetemporalType
- temporal type
- Returns:
- the same query instance
- Throws:
-
IllegalArgumentException
- if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type
- Since:
- JPA 2.0