Home » Search

About Date

61-70 of 199Refresh
JPA Doc
6

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.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
JPA Doc
4

javax.persistence.Id

should be one of the following types: any Java primitive type; any primitive wrapper type; String; java.util.Date; java.sql.Date; java.math.BigDecimal; java.math.BigInteger. The mapped column for the primary key
JDO Doc
4

setFilter(filter)

classes are valid. Equality and ordering comparisons of Date fields and Date parameters are valid. White