Jakarta Persistence (JPA) Method
Query setParameter(
Parameter<Calendar> param,
Calendar value,
TemporalType temporalType
)
Bind an instance of
Calendar to a Parameter<T> object. - Parameters:
temporalType- temporal typeparam- parameter objectvalue- parameter value
- Returns:
- the same query instance.
- Throws:
- if the parameter does not correspond to a parameter of the query.IllegalArgumentException
- Deprecated:
- Newly-written code should use the date/time types defined in
java.time.
- Since:
- Jakarta Persistence (JPA) 2.0