Home » Search

About CURRENT_TIMESTAMP

71-80 of 200Refresh
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
Forum
1

Queries are slow on a large database

; private Date timeStamp; private String messageName; private String messageDetail ... "/> I added a new index on timestamp:
JDO Doc
1

currentValue()

Method javax.jdo.datastore.Sequence long currentValue() Returns the current sequence value as a long. If the current sequence value is not available or is not numeric, throw JDODataStoreException. Returns: the current value Since: JDO 2.0
JPA Doc
1

javax.persistence.EntityNotFoundException

with pessimistic locking is used and the entity no longer exists in the database. The current transaction ... within this Throwable object information about the current state of the stack frames for the current thread