Home » Search

About Transaction

181-190 of 200Refresh
JPA Doc
3

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
3

getTransactionalObjectId(pc)

is being changed in the current transaction, this method returns the current identity as changed in the transaction. Parameters: pc - the calling PersistenceCapable instance Returns: the object representing the JDO identity of the calling instance Since: JDO 1.0
JDO Doc
3

getTransactionIsolationLevel()

Method javax.jdo.PersistenceManagerFactory String getTransactionIsolationLevel() Get the value for transaction isolation level for this PMF. Returns: the transaction isolation level Since: JDO 2.2 See Also: setTransactionIsolationLevel(String)
JPA Doc
3

isActive()

Method javax.persistence.EntityTransaction boolean isActive() Indicate whether a resource transaction is in progress. Returns: boolean indicating whether transaction is in progress Throws: PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0
JDO Doc
3

isDeleted(pc)

Static Method javax.jdo.JDOHelper boolean isDeleted(   Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true ... the current transaction. Since: JDO 1.0 See Also: PersistenceManager.deletePersistent(Object pc) PersistenceCapable.jdoIsDeleted()
JDO Doc
3

isDeleted(pc)

Method javax.jdo.spi.StateInterrogation Boolean isDeleted(   Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return ... if the parameter instance was deleted in the current transaction. Since: JDO 2.0
JDO Doc
3

isDeleted(pc)

Method javax.jdo.spi.StateManager boolean isDeleted(   PersistenceCapable pc ) Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true ... : true if this instance was deleted in the current transaction. Since: JDO 1.0 See Also: PersistenceManager.deletePersistent(Object pc)
JDO Doc
3

isDirty(pc)

transaction return true. Transient instances and instances of classes that do not implement ... if the parameter instance has been modified in the current transaction. Since: JDO 1.0 See Also: javax.jdo.spi
JDO Doc
3

isDirty(pc)

transaction, or modified while detached return Boolean.TRUE. Instances known by the implementation ... the current transaction, or while detached. Since: JDO 2.0 See Also: StateManager.makeDirty
JDO Doc
3

isDirty(pc)

transaction return true. Transient nontransactional instances return false. Parameters: pc ... transaction. Since: JDO 1.0 See Also: PersistenceCapable.jdoMakeDirty(String fieldName)