JPA Method
in javax.persistence.StoredProcedureQuery

StoredProcedureQuery setParameter(
  int position, 
  Date value, 
  TemporalType temporalType
)


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