About rollback

21-30 of 93Refresh
JPA Doc
7

find(entityClass, primaryKey, lockMode)

locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback Parameters: entityClass - entity class
JPA Doc
7

find(entityClass, primaryKey, lockMode, properties)

rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored
JPA Doc
7

find(entityClass, primaryKey, lockMode, properties)

-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently
JPA Doc
7

getRollbackOnly()

Method javax.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0
JPA Doc
7

javax.persistence.LockTimeoutException

not result in transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time. The current transaction, if one is active, will be not be marked for rollback
JPA Doc
7

lock(entity, lockMode)

if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback Parameters: entity - entity
JPA Doc
7

lock(entity, lockMode, properties)

transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized
JPA Doc
7

refresh(entity, lockMode)

locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback. Parameters: entity - entity instance
JPA Doc
7

refresh(entity, lockMode, properties)

-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently
JDO Doc
7

setRestoreValues(restoreValues)

Method javax.jdo.PersistenceManagerFactory void setRestoreValues(   boolean restoreValues ) Set the default value for the RestoreValues property. If true, at rollback, fields of newly persistent ... types are restored to their values as of the beginning of the transaction. If false, at rollback