About Transaction

131-140 of 200Refresh
JDO Doc
4

close()

from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close
JDO Doc
4

getObjectId(pc)

the transaction, by the application modifying one or more of the application key fields, then this method returns the identity as of the beginning of the transaction. The value returned by getObjectId will be different following afterCompletion processing for successful transactions
JPA Doc
4

getTransactionType()

() Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type corresponds to the transaction-type attribute in the persistence.xml file. Returns: transaction type of the entity managers created by the EntityManagerFactory Since: JPA 1.0
JDO Doc
4

isTransactional(pc)

whether the parameter instance is transactional. Instances whose state is associated with the current transaction return Boolean.TRUE. Instances known by the implementation to be non-transactional return Boolean ... . Returns: Boolean.TRUE if the parameter instance is transactional. Since: JDO 2.0 See Also: PersistenceCapable.jdoIsTransactional()
JDO Doc
4

javax.jdo.listener.DirtyLifecycleListener

, during an operation that modifies the value of a persistent or transactional field. Invoked ... transactional field. Called after the value is changed. Parameters: event - Since: JDO 2.0 void ... , during an operation that modifies the value of a persistent or transactional field. Invoked
JDO Doc
4

javax.jdo.listener.StoreLifecycleListener

during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction ... is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit
JPA Doc
4

javax.persistence.FlushModeType

Flush mode setting. When queries are executed within a transaction, if FlushModeType ... . If there is no transaction active, the persistence provider must not flush to the database. Since: JPA 1.0 ... execution. Since: JPA 1.0 FlushModeType COMMIT Flushing to occur at transaction commit. Flushing to occur
JDO Doc
4

jdoGetObjectId()

, 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 transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
JDO Doc
4

jdoGetTransactionalObjectId()

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 transaction. Returns: a copy of the ObjectId of this instance as modified in the transaction. Since: JDO 1.0
JPA Doc
4

joinTransaction()

that a JTA transaction is active. This method should be called on a JTA application managed entity manager that was created outside the scope of the active transaction to associate it with the current JTA transaction. Throws: TransactionRequiredException - if there is no transaction Since: JPA 1.0