setParameter(position, value, temporalType) - JPA Query's method
Method javax.persistence.Query
Query setParameter(
int position,
Date value,
TemporalType temporalType
)
Bind an instance of
java.util.Date
to a positional parameter. - Parameters:
-
position
- positionvalue
- parameter valuetemporalType
- temporal type
- Returns:
- the same query instance
- Throws:
-
IllegalArgumentException
- if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type
- Since:
- JPA 1.0