ObjectDB ObjectDB

setParameter(position, value, temporalType) - JPA Query's method

Method
javax.persistence.Query
Query setParameter(
  int position,
  Calendar value,
  TemporalType temporalType
)

Bind an instance of java.util.Calendar to a positional parameter.
Parameters:
position - position
value - parameter value
temporalType - 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