Home » Search

About TemporalType

1-10 of 52Refresh
Manual
86

Query Parameters in JPA

java.util.Date(), TemporalType.DATE); Since TemporalType.Date represents a pure date, the time
JPA Doc
84

javax.persistence.TemporalType

javax.persistence Enum TemporalType java.lang.Object java.lang.EnumTemporalType> javax.persistence.TemporalType Implemented Interfaces: Serializable, Comparable<TemporalType> Type used to indicate a specific mapping of java.util.Date or java.util.Calendar
JPA Doc
76

values()

Static Method javax.persistence.TemporalType TemporalType[] values() Returns an array containing the constants of this enum type. This method may be used to iterate over the constants as follows: for (TemporalType c : TemporalType.values()) System.out.println(c) Returns: an array containing
JPA Doc
74

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws
JPA Doc
74

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter(   String name,   Calendar value,   TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance
JPA Doc
74

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Calendar value,   TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query
JPA Doc
74

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance
JPA Doc
74

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter(   Parameter param,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same query
JPA Doc
74

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter(   Parameter param,   Calendar value,   TemporalType temporalType ) Bind an instance of java.util.Calendar to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same
JPA Doc
74

setParameter(param, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   Parameter param,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same