Home » Search

About rollback

21-30 of 85Refresh
JPA Doc
6

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
6

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
JDO Doc
6

javax.jdo.PersistenceManagerFactory

for the RestoreValues property. Set the default value for the RestoreValues property. If true, at rollback ... of the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged
JPA Doc
6

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
JPA Doc
6

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
6

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
6

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
6

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
6

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
6

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