About Transaction

171-180 of 200Refresh
JPA Doc
3

close()

is associated with an active transaction, the persistence context remains managed until the transaction completes. Throws: IllegalStateException - if the entity manager is container-managed Since: JPA 1.0
JDO Doc
3

Constants.JTA

Static Field javax.jdo.Constants String JTA The value for TransactionType to specify that transactions are managed by the Java Transactions API, as documented in JSR-220. Since: JDO 2.1
JDO Doc
3

Constants.RESOURCE_LOCAL

Static Field javax.jdo.Constants String RESOURCE_LOCAL The value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220. Since: JDO 2.1
JDO Doc
3

Constants.TX_READ_COMMITTED

Static Field javax.jdo.Constants String TX_READ_COMMITTED Transaction isolation level representing the requirement to read committed data only. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

Constants.TX_READ_UNCOMMITTED

Static Field javax.jdo.Constants String TX_READ_UNCOMMITTED Transaction isolation level representing the ability to read uncommitted data. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

Constants.TX_SNAPSHOT

Static Field javax.jdo.Constants String TX_SNAPSHOT Transaction isolation level representing the requirement to keep a snapshot for reading data. Since: JDO 2.2 See Also: PersistenceManagerFactory.getTransactionIsolationLevel() Transaction.getIsolationLevel()
JDO Doc
3

deletePersistent(pc)

Method javax.jdo.PersistenceManager void deletePersistent(   Object pc ) Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object ... if the instance is already deleted in the current transaction. This method throws JDOUserException
JPA Doc
3

executeUpdate()

- if there is no transaction QueryTimeoutException - if the statement execution exceeds the query timeout ... the query timeout value set and the transaction is rolled back Since: JPA 1.0
JPA Doc
3

getLockMode(entity)

: TransactionRequiredException - if there is no transaction IllegalArgumentException - if the instance is not a managed entity and a transaction is active Since: JPA 2.0
JPA Doc
3

getNonJtaDataSource()

transaction. The data source corresponds to the named non-jta-data-source element in the persistence.xml ... to be used by the persistence provider for accessing data outside a JTA transaction Since: JPA 1.0