About Date

61-70 of 200Refresh
JPA Doc
6

javax.persistence.TemporalType

Type used to indicate a specific mapping of java.util.Date or java.util.Calendar. Since: JPA 1.0 Learn how to define and use date and time fields in Chapter 2 of the ObjectDB/JPA manual. TemporalType DATE Map as java.sql.Date Map as java.sql.Date Since: JPA 1.0 TemporalType TIME Map as
JDO Doc
6

javax.jdo.Query

and instances of wrapper classes are valid. Equality and ordering comparisons of Date fields and Date ... ; BigDecimal; BigInteger; String; and Date. Parameters: ordering - the ordering specification. Since: JDO ... class Date; or one of the java.sql classes Date, Time, or Timestamp; or a user-defined class
JPA Doc
5

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.MapKeyTemporal

) This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar ... with the ElementCollection, OneToMany, or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal(DATE ... ) The type used in mapping java.util.Date or java.util.Calendar. (Required) The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 2.0
Forum
5

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread ... are using the 2015g time zone data. While we cannot see a problem with date only fields (more testing
JPA Doc
5

currentDate()

Method javax.persistence.criteria.CriteriaBuilder Expression<Date> currentDate() Create expression to return current date. Returns: expression for current date Since: JPA 2.0
JPA Doc
5

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter(   Parameter<Date> 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
5

setParameter(param, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   Parameter<Date> 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
JDO Doc
4

javax.jdo.spi.JDOImplHelper

a DateFormat instance for use with constructing Date instances. Register a DateFormat instance for use with constructing Date instances. The default is the default DateFormat instance. If the new instance
JPA Doc
4

javax.persistence.Basic

types, String, java.math.BigInteger, java.math.BigDecimal, java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Time, java.sql.Timestamp, byte[], Byte[], char[], Character[], enums, and any