About CURRENT_TIMESTAMP

71-80 of 200Refresh
Issue
1

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

Entity with java.util.Date column gives ClassCastException in BIRT

: Cannot get the timestamp value column: 3.     org.eclipse.datatools.connectivity.oda.OdaException ;     java.lang.ClassCastException: java.util.Date cannot be cast to java.sql.Timestamp at org.eclipse ... .ClassCastException: java.util.Date cannot be cast to java.sql.Timestamp at com.objectdb.oda.ResultSet
Forum
1

Finding an object by its datetime

", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public class Booking { @Temporal(TemporalType.TIMESTAMP) Calendar btime; }   I'm trying to search for the exact timestamp I persisted. This is a snippet of what I'm trying accomplish (won't compile
Forum
1

LifeCycle Event with Embeddable classes

= CascadeType.ALL, fetch = FetchType.EAGER) private List barList; @Temporal(TemporalType.TIMESTAMP) private Timestamp modifyDate; @PrePersist @PreUpdate void onPreUpdate() { modifyDate = new Timestamp(System.currentTimeMillis()); }} @Embeddable public class Bar { @Temporal(TemporalType
JDO Doc
1

javax.jdo.FetchPlan

and setDetachmentOptions. Specifies that fields that are not loaded but are in the current fetch ... and setDetachmentOptions. Specifies that fields that are loaded but not in the current fetch plan ... . The Set is a copy of the currently active groups and will not change based on subsequent changes
JDO Doc
1

javax.jdo.spi.Detachable

() This method calls the StateManager with the current detached state instance as a parameter and replaces the current detached state instance with the value provided by the StateManager. This method calls the StateManager with the current detached state instance as a parameter and replaces the current detached
JPA Doc
1

javax.persistence.EntityExistsException

and the entity already exists. The current transaction, if one is active, will be marked for rollback ... time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0 ... within this Throwable object information about the current state of the stack frames for the current thread
JDO Doc
1

retrieveAll(pcs, useFetchPlan)

the current fetch group must be retrieved, and the implementation might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false, this method behaves exactly as ... plan has not been modified from its default setting, all fields in the current fetch plan
JDO Doc
1

retrieveAll(pcs, useFetchPlan)

the current fetch group must be retrieved, and the implementation might retrieve more fields than the current ... plan has not been modified from its default setting, all fields in the current fetch plan are fetched ... - the instances useFetchPlan - whether to use the current fetch plan to determine which fields to load
JDO Doc
1

retrieveAll(useFetchPlan, pcs)

the current fetch group must be retrieved, and the implementation might retrieve more fields than the current ... plan has not been modified from its default setting, all fields in the current fetch plan are fetched ... : useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to retrieve. pcs - the instances Since: JDO 2.1