About transaction

1-10 of 200Refresh
Manual
248

Database Transaction Replayer

contains two types of files: Backup files - with names of the form <transaction-id>.odb Recording files - with names of the form <transaction-id>.odr A backup file is an ordinary ObjectDB database file that reflects the state of the database at the end of a specific transaction. The ID
JDO Doc
88

javax.jdo.Transaction

javax.jdo Interface Transaction The JDO Transaction interface provides for initiation and completion of transactions under user control. It is a sub-interface of the PersistenceManager that deals with options and transaction demarcation. Transaction options include whether optimistic concurrency
Manual
87

Obtaining a JPA Database Connection

within an active transaction. Given an EntityManager, em, it is very easy to begin a transaction: em ... and its associated EntityTransaction instances that the getTransaction method returns. When a transaction ... when the transaction is committed: em.getTransaction().commit(); The next section explains in
Manual
76

Database Connection using JPA

the content of a database require active transactions. Transactions are managed by an EntityTransaction ... ) must be performed within an active transaction. The EntityTransaction interface represents and manages database transactions. Every EntityManager holds a single attached EntityTransaction instance that is available
Manual
76

Storing JPA Entity Objects

and changes its state to Managed. The new entity object is stored in the database when the transaction ... field values). A TransactionRequiredException is thrown if there is no active transaction when persist is called because operations that modify the database require an active transaction. If the database
JDO Doc
71

begin()

Method javax.jdo.Transaction void begin() Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active. Since: JDO 1.0 See Also: setOptimistic getOptimistic
JDO Doc
71

setIsolationLevel(level)

Method javax.jdo.Transaction void setIsolationLevel(   String level ) Set the value for transaction isolation level for this transaction. Transaction isolation levels are defined in javax.jdo ... - the transaction isolation level Since: JDO 2.2 See Also: getIsolationLevel() Constants.TX_READ
JDO Doc
70

commit()

Method javax.jdo.Transaction void commit() Commit the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active. Since: JDO 1.0
JDO Doc
70

getIsolationLevel()

Method javax.jdo.Transaction String getIsolationLevel() Get the value for transaction isolation level for this transaction. Returns: the transaction isolation level Since: JDO 2.2 See Also: setIsolationLevel(String)
JDO Doc
70

rollback()

Method javax.jdo.Transaction void rollback() Roll back the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active. Since: JDO 1.0