About date

91-100 of 200Refresh
JPA Doc
3

javax.persistence.IdClass

class Employee { @Id String empName; @Id Date birthDay; ... } Since: JPA 1.0 Class
JPA Doc
3

least(x)

Method javax.persistence.criteria.CriteriaBuilder Expression least(   Expression x ) Create an aggregate expression for finding the least of the values (strings, dates, etc). Parameters: x - expression representing input value to least operation Returns: least expression Since: JPA 2.0
JPA Doc
3

MapKeyTemporal.value

Annotation Element javax.persistence.MapKeyTemporal TemporalType value (Required) The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 2.0
Forum
3

Performance question

.g. a date field you want to query for. Is there an improvement in performance if I create a "mirror" date field in the original entity, removing the need to traverse through the referenced other entity? So, querying for "all objects with object.otherobject.date > 1.1.1980" is slower
JDO Doc
3

registerDateFormat(df)

Method javax.jdo.spi.JDOImplHelper void registerDateFormat(   DateFormat df ) Register a DateFormat instance for use with constructing Date instances. The default is the default DateFormat instance. If the new instance implements SimpleDateFormat, get its pattern for error messages. Parameters: df - the DateFormat instance to use Since: JDO 2.0
Forum
3

Schema update: package, class and field

and then the "automatic" schema update or is that a coincidence?   Example: Version 1: class A { String date; } Version 2: class A { String old_date; //renamed Date date; } Schema: .. .. We expect following: version1
JDO Doc
3

setOrdering(ordering)

; BigInteger; String; and Date. Parameters: ordering - the ordering specification. Since: JDO 1.0
JPA Doc
3

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
Forum
3

Trouble bug on explorer

; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * Created with IntelliJ IDEA. * User: apple * Date: 15.07.2012 * Time: 18:54 ... Date regDate; private Date regEnd; private String jxtaUUID; private String
Issue
2

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

    @Unique     String url = "";     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date createdTime;     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date modifiedTime;     private @Index     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     Date postTime