About transaction

121-130 of 200Refresh
Tutorial
7

Step 2: Entity Class and Persistence Unit

.com/xml/ns/persistence/persistence_2_0.xsd"> transaction
Manual
7

JPA Entity Fields

in the database for the first time) is 1. For every transaction in which an entity object
Manual
7

Running JPA Queries [2011-09-21]

").executeUpdate(); A TransactionRequiredException is thrown if no transaction is active. On success
Manual
7

Running JPA Queries

").executeUpdate(); A TransactionRequiredException is thrown if no transaction is active. On success
Tutorial
7

Spring MVC JPA Tutorial - NetBeans Project [2011-09-25]

the application on GlassFish - change the transaction type from RESOURCE_LOCAL to JTA in
Tutorial
7

Spring MVC JPA Tutorial - NetBeans Project

the application on GlassFish - change the transaction type from RESOURCE_LOCAL to JTA in
JDO Doc
7

makeTransactional(pc)

to transactional boundaries. Transient instances normally do not observe transaction boundaries. This method makes transient instances sensitive to transaction completion. If an instance is modified in a transaction, and the transaction rolls back, the state of the instance is restored to the state
JDO Doc
6

getObjectById(oid, validate)

it. If there is no transaction in progress, the returned instance will be hollow or persistent-nontransactional, at the choice of the implementation. If there is a transaction in progress, the returned instance ... is established to this instance, then the transaction in which the association was made will fail
JPA Doc
6

javax.persistence.Query

query TransactionRequiredException - if there is no transaction QueryTimeoutException ... back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled ... - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic
JPA Doc
6

javax.persistence.spi.PersistenceUnitInfo

to be used by the persistence provider for accessing data outside a JTA transaction. Returns the non ... 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 String