setParameter(name, value, temporalType) - JPA Query's method
Method javax.persistence.Query
Query setParameter(
String name,
Calendar value,
TemporalType temporalType
)
java.util.Calendar
to a named parameter. - Parameters:
-
name
- parameter name -
value
- parameter value -
temporalType
- 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 1.0