Query setParameter(
Parameter<Date> param,
Date value,
TemporalType temporalType
)
Bind an instance of
java.util.Date
to a Parameter
object. - Parameters:
param
- parameter objectvalue
- parameter valuetemporalType
- temporal type
- Return:
- the same query instance
- Throws:
- IllegalArgumentException - if the parameter does not correspond to a parameter of the query
- Since:
- JPA 2.0