Internal Website Search
101-150 of 200 resultsjavax.persistence.EntityExistsException may be thrown at flush or commit time . The current transaction, if one is active and the persistence ... .persist(Object) is called and the entity already exists. The current transaction, if one is active | |
EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method time it is invoked. The isOpen method will return true on the returned instance. Parameters: synchronizationType - how and when the entity manager should be synchronized with the current JTA transaction | |
EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method. This method returns a new EntityManager instance each time it is invoked. The isOpen method ... should be synchronized with the current JTA transaction map - properties for entity manager Return | |
javax.persistence.FlushModeType. If there is no transaction active or the persistence context is not joined to the current transaction ... . The provider may flush at other times , but is not required to. Since: JPA 1.0 Public Static Enum | |
javax.persistence.LockTimeoutException part of an API call, at, flush or at commit time . The current transaction, if one is active, will be not | |
javax.persistence.OptimisticLockException time . The current transaction, if one is active, will be marked for rollback. See Also: EntityManager | |
javax.persistence.PessimisticLockException time . The current transaction, if one is active, will be marked for rollback. Since: JPA 2.0 Public | |
javax.persistence.QueryTimeoutException; javax.persistence.QueryTimeoutException Thrown by the persistence provider when a query times out and only the statement is rolled back. The current transaction, if one is active, will be not | |
javax.persistence.EntityTransaction Since: JPA 1.0 void commit () Commit the current resource transaction, writing any unflushed ... - if the commit fails Since: JPA 1.0 boolean getRollbackOnly () Determine whether the current resource ... is encountered Since: JPA 1.0 void rollback () Roll back the current resource transaction. Throws | |
javax.persistence.SynchronizationType with the current transaction or whether the persistence context must be explicitly joined to the current ... SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: JPA 2.1 UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction | |
combined index not used the current date (in your case the date of the last Action). The endDate is created as soon as an Action ... without executing it is guessing. Think of the progress bar and the evaluation of time remained ... the actual execution time of each query plan from the best evaluated to the worst evaluated | |
javax.persistence.Enumerated: public enum EmployeeStatus {FULL_ TIME , PART_ TIME , CONTRACT} public enum SalaryRate {JUNIOR, SENIOR | |
javax.persistence.TemporalType java.sql.Date Since: JPA 1.0 TIME Map as java.sql. Time Since: JPA 1.0 TIMESTAMP Map as java.sql | |
EntityManager.getLockMode(entity) - JPA Method JPA Method in javax.persistence.EntityManager LockModeType getLockMode ( Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance ... manager has not been joined to the current transaction IllegalArgumentException - if the instance | |
EntityManager.isJoinedToTransaction() - JPA Method JPA Method in javax.persistence.EntityManager boolean isJoinedToTransaction () Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active Return: boolean Since: JPA 2.1 | |
javax.persistence.PersistenceContext whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means | |
javax.persistence.PersistenceContext.synchronization is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManager joinTransaction method. Since: JPA 2.1 | |
CriteriaBuilder.currentDate() - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression currentDate () Create expression to return current date. Return: expression for current date Since: JPA 2.0 | |
CriteriaBuilder.currentTimestamp() - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression currentTimestamp () Create expression to return current timestamp. Return: expression for current timestamp Since: JPA 2.0 | |
javax.jdo.Query, and ignoreCache option. Return: the current setting of the flag Since: JDO 2.0 void setCandidates ... of the current set of variable values. Other values for variables might still qualify the candidate instance ... , this can dramatically improve query response times . Parameters: ignoreCache - the setting | |
javax.jdo.spi.StateInterrogation is only valid within the current transaction. Parameters: pc - the instance. Return: a copy ... that have been deleted in the current transaction return Boolean.TRUE . Instances known by the implementation ... the current transaction. See Also: PersistenceManager.deletePersistent (Object pc) PersistenceCapable | |
javax.jdo.datastore.Sequence to allocate Since: JDO 2.0 Object current () Returns the current sequence value object if it is available. It is intended to return a sequence value object previously used. If the current sequence value is not available, throw JDODataStoreException. Return: the current value Since: JDO 2.0 long | |
javax.jdo.FetchPlan containing the names of all active fetch groups. The Set is a copy of the currently active groups ... of all currently active fetch groups Since: JDO 2.0 int getMaxFetchDepth () Return the maximum fetch ... but are in the current fetch plan should be loaded prior to detachment. Since: JDO 2.0 DETACH_UNLOAD | |
PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method values should be retrieved. The fields in 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 ... , all fields in the current fetch plan are fetched, and other fields might be fetched lazily by | |
PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method should be retrieved. The fields in 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 ... , all fields in the current fetch plan are fetched, and other fields might be fetched lazily by | |
PersistenceManager.retrieveAll(useFetchPlan,pcs) - JDO Method should be retrieved. The fields in 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 ... , all fields in the current fetch plan are fetched, and other fields might be fetched lazily by | |
PersistenceManager.getServerDate() - JDO Method JDO Method in javax.jdo.PersistenceManager Date getServerDate () Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time | |
Sequence.currentValue() - JDO Method JDO Method in 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. Return: the current value Since: JDO 2.0 | |
PersistenceCapable.jdoGetTransactionalObjectId() - JDO Method if the identity of the instance has not changed in the current transaction. If the JDO identity is being changed in the transaction, this method returns the current object id as modified in the current | |
FetchPlan.getGroups() - JDO Method JDO Method in javax.jdo.FetchPlan Set getGroups () Return an immutable Set containing the names of all active fetch groups. The Set is a copy of the currently active groups and will not change based on subsequent changes to the groups. Return: an immutable Set containing the names of all currently active fetch groups Since: JDO 2.0 | |
JDOHelper.isDirty(pc) - JDO Static Method made persistent in the current transaction return true . Transient instances and instances of classes ... . Return: true if the parameter instance has been modified in the current transaction. See Also: javax | |
JDOHelper.isNew(pc) - JDO Static Method the current transaction return true . Transient instances and instances of classes that do not ... : true if the parameter instance was made persistent in the current transaction | |
JDOHelper.isDeleted(pc) - JDO Static Method JDO Static Method in javax.jdo.JDOHelper boolean isDeleted ( Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current ... if the parameter instance was deleted in the current transaction. See Also: PersistenceManager.deletePersistent (Object pc) PersistenceCapable() Since: JDO 1.0 | |
PersistenceManager.makeTransient(pc,useFetchPlan) - JDO Method is true, then the current FetchPlan is applied to the pc parameter, as if detachCopy(Object ... : pc - the root instance to make transient. useFetchPlan - whether to use the current fetch plan | |
PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph ... . useFetchPlan - whether to use the current fetch plan to determine which fields to load | |
PersistenceManager.makeTransientAll(useFetchPlan,pcs) - JDO Method parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph ... . useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to make transient Since: JDO 2.1 | |
PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph ... . useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to make transient Since: JDO 2.0 | |
PersistenceManager.retrieve(pc,useFetchPlan) - JDO Method plan has not been modified from its default setting, all fields in the current fetch plan are fetched ... - the instance useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to retrieve. Since: JDO 2.0 | |
PersistenceManager.detachCopyAll(pcs) - JDO Method the current FetchPlan will be traversed. Thus, to detach a graph of objects, relations to other persistent instances must either be in the default-fetch-group , or in the current custom FetchPlan | |
PersistenceManagerFactory.getFetchGroups() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory Set getFetchGroups () Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups. The methods addFetchGroups ... : a copy of all currently active fetch groups Throws: SecurityExceptionif the caller is not authorized for {@link JDOPermission} ("getMetadata") Since: JDO 2.2 | |
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. Since: JDO 2.0 | |
Detachable.jdoReplaceDetachedState() - JDO Method JDO Method in javax.jdo.spi.Detachable void jdoReplaceDetachedState () 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. Since: JDO 2.0 | |
PersistenceCapable.jdoGetObjectId() - JDO Method, then the ObjectId returned is only valid within the current transaction. If the JDO identity is being changed in the transaction, this method returns the object id as of the beginning of the current | |
PersistenceCapable.jdoIsDirty() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDirty () Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current ... the current transaction. See Also: javax.jdo.JDOHelper.isDirty (Object pc) javax.jdo.JDOHelper | |
PersistenceCapable.jdoIsNew() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsNew () Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction ... the current transaction. See Also: javax.jdo.JDOHelper.isNew (Object pc) PersistenceManager.makePersistent (Object pc) Since: JDO 1.0 | |
PersistenceCapable.jdoIsDeleted() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDeleted () Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true. Transient instances return false. Return: true if this instance was deleted in the current transaction | |
StateInterrogation.isDirty(pc) - JDO Method made persistent in the current transaction, or modified while detached return Boolean.TRUE . Instances ... instance has been modified in the current transaction, or while detached. See Also: StateManager.makeDirty | |
StateInterrogation.isNew(pc) - JDO Method that have been made persistent in the current transaction return Boolean.TRUE . Instances known by the implementation to be non ... the current transaction. See Also: PersistenceManager.makePersistent (Object pc) PersistenceCapable() Since: JDO 2.0 | |
StateInterrogation.isDeleted(pc) - JDO Method JDO Method in javax.jdo.spi.StateInterrogation Boolean isDeleted ( Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current ... - the instance. Return: Boolean.TRUE if the parameter instance was deleted in the current transaction | |
StateManager.isDirty(pc) - JDO Method made persistent in the current transaction return true . Transient nontransactional instances return false ... has been modified in the current transaction. See Also: PersistenceCapable(String fieldName) Since: JDO 1.0 |