Home » Search

About Temporal

1-10 of 44Refresh
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
93

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
58

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
Manual
55

Date and Time in JPQL and Criteria Queries

Shows how date and time can be used in JPQL queries.
JPA Doc
55

JPA Annotations for Fields

Reference (JavaDoc) of JPA 2 field annotations, including @Basic, @Embedded, @EmbeddedId, @Version, @Transient, @Enumerated, @MapKeyEnumerated, @Temporal and @MapKeyTemporal.
JPA Doc
20

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
19

Query Parameters in JPA

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

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