setParameter(param, value, temporalType) - JPA Query's method
Method javax.persistence.Query
Query setParameter(
Parameter<Calendar> param,
Calendar value,
TemporalType temporalType
)
java.util.Calendar
to a Parameter
object. - Parameters:
-
param
- parameter object -
value
- parameter value -
temporalType
- temporal type
- Returns:
- the same query instance
- Throws:
-
IllegalArgumentException
- if the parameter does not correspond to a parameter of the query
- Since:
- JPA 2.0