About Temporal

1-10 of 43Refresh
JPA Doc
99

javax.persistence.Temporal

javax.persistence Annotation Temporal Target: Fields (including property get methods ... .Calendar. It may only be specified for fields or properties of these types. The Temporal annotation ... annotation (when the element collection value is of such a temporal type. Example: @Temporal(DATE
JPA Doc
94

Temporal.value

Annotation Element javax.persistence.Temporal TemporalType value The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 1.0
Manual
56

JPA Persistable Types

and Time (Temporal) Types The java.sql date and time classes represent different parts of dates ... of the above, using the @Temporal JPA annotation: @Entity public class DatesAndTimes { // Date Only: java.sql.Date date1; @Temporal(TemporalType.DATE) java.util.Date date2 @Temporal
JPA Doc
19

javax.persistence.TypedQuery

temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException ... parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type ... parameter. Parameters: position - position value - parameter value temporalType - temporal type Returns
Manual
18

Query Parameters in JPA [2011-04-01]

and time, as explained in detail in the Date and Time (Temporal) Types section. For example
Manual
18

Query Parameters in JPA

and time, as explained in detail in the Date and Time (Temporal) Types section. For example
JPA Doc
13

javax.persistence.Query

value - parameter value temporalType - temporal type Returns: the same query instance Throws ... temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException ... - temporal type Returns: the same query instance Throws: IllegalArgumentException - if position
JPA Doc
8

javax.persistence.Embeddable

class. Example 1: @Embeddable public class EmploymentPeriod { @Temporal(DATE) java.util.Date startDate; @Temporal(DATE) java.util.Date endDate; ... } Example 2
JPA Doc
5

javax.persistence.metamodel.BasicType

javax.persistence.metamodel Interface BasicType Superinterfaces: Type Instances of the type BasicType represent basic types (including temporal and enumerated types). Since: JPA 2.0 Class getJavaType() Return the represented Java type. Return the represented Java type. Returns: Java type
JPA Doc
5

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