Home » Search

About Temporal

1-10 of 43 Refresh
JPA Doc
107

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
101

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
61

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
60

Date and Time in JPQL and Criteria Queries

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

JPA Annotations for Fields

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

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
20

Query Parameters in JPA

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

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
6

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