How to bind an instance of java.util.Date/Calendar to a named parameter in JPA
Query | setParameter(String name, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a named parameter. |
Query | setParameter(String name, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a named parameter. |
Query | setParameter(int position, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a positional parameter. |
Query | setParameter(int position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional parameter. |
Comments
Post a Comment