Apr 30, 2018

How to bind an instance of java.util.Date/Calendar to a named parameter in JPA


 QuerysetParameter(String name, Calendar value, TemporalType temporalType)
          Bind an instance of java.util.Calendar to a named parameter.
 QuerysetParameter(String name, Date value, TemporalType temporalType)
          Bind an instance of java.util.Date to a named parameter.
 QuerysetParameter(int position, Calendar value, TemporalType temporalType)
          Bind an instance of java.util.Calendar to a positional parameter.
 QuerysetParameter(int position, Date value, TemporalType temporalType)
          Bind an instance of java.util.Date to a positional parameter.