Internal Website Search
21-30 of 92 resultsRefreshjavax.persistence.LockModeType cannot be obtained, and the database locking failure results in transaction-level rollback , the provider ... has been marked for rollback . When the lock cannot be obtained, and the database locking failure results in only statement-level rollback , the provider must throw the LockTimeoutException (and must not mark | |
javax.persistence.EntityTransaction transaction has been marked for rollback . Return: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0 boolean ... is encountered Since: JPA 1.0 void rollback () Roll back the current resource transaction. Throws | |
javax.persistence.LockTimeoutException locking conflict occurs that does not result in transaction rollback . This exception may be thrown as ... be marked for rollback . Since: JPA 2.0 Public Constructors LockTimeoutException () Constructs a new | |
EntityManager.refresh(entity,lockMode,properties) if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific | |
EntityManager.lock(entity,lockMode,properties) will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor | |
EntityManager.lock(entity,lockMode) rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback Parameters: entity - entity instance lockMode - lock mode Throws | |
Transaction.getRollbackOnly() JDO Method in javax.jdo.Transaction boolean getRollbackOnly () Returns the rollback -only status of the transaction. When begun, the rollback -only status is false. Either the application or the JDO implementation may set this flag using setRollbackOnly. Return: true if the transaction has been marked for rollback . Since: JDO 2.0 | |
PersistenceManagerFactory.setRestoreValues(restoreValues) JDO Method in javax.jdo.PersistenceManagerFactory void setRestoreValues ( boolean restoreValues ) Set the default value for the RestoreValues property. If true , at rollback , fields ... . If false , at rollback , the values of fields of newly persistent instances are unchanged | |
javax.jdo.PersistenceManagerFactory , at rollback , fields of newly persistent instances are restored to their values as of the beginning ... of the transaction. If false , at rollback , the values of fields of newly persistent instances are unchanged | |
Transaction.setRestoreValues(restoreValues) JDO Method in javax.jdo.Transaction void setRestoreValues ( boolean restoreValues ) If true , at rollback , fields of newly persistent instances are restored to their values as ... of the beginning of the transaction. If false , at rollback , the values of fields of newly persistent |