Home » Search

About Transaction

121-130 of 200Refresh
JDO Doc
6

currentTransaction()

Method javax.jdo.PersistenceManager Transaction currentTransaction() Return the Transaction instance associated with a PersistenceManager. There is one Transaction instance associated with each PersistenceManager instance. The Transaction instance supports options as well as transaction completion
JDO Doc
6

flush()

to the data store. It has no effect if a transaction is not active. If a datastore transaction is active ... transaction is active, this method obtains a datastore connection, synchronizes the cache ... is held until the end of the transaction. If exceptions occur during flush, the implementation
JDO Doc
6

isTransactional(pc)

whether this object is transactional. Instances that respect transaction boundaries return true. These instances include transient instances made transactional as a result of being the target ... in data store transactions; and persistent instances modified in optimistic transactions. Transient
JDO Doc
5

getDataStoreConnection()

while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned will not be enlisted in any transaction. Returns: the JDOConnection instance Since: JDO 2.0
JPA Doc
5

javax.persistence.PersistenceContextType

: Serializable, Comparable Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped ... Extended persistence context Since: JPA 1.0 PersistenceContextType TRANSACTION Transaction-scoped
JDO Doc
5

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
5

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
5

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
5

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
5

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