About transaction

91-100 of 200Refresh
JPA Doc
17

JPA Exceptions

, an attempt to update the database with no active transaction is represented by: Database update failures that require transaction rollback are represented by: The RollbackException exception usually ... ) . For example, if a transaction fails because of an attempt to store a new entity object with a primary
Manual
17

UPDATE SET Queries in JPA/JPQL

objects into an EntityManager. Updating the relevant entity object fields within an active transaction ... queries can only be executed within an active transaction and the changes are visible to other users ... (); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate
Manual
17

DELETE Queries in JPA/JPQL

transaction, either explicitly by calling the remove method or implicitly by a cascading operation ... queries can only be executed within an active transaction and the changes are visible to other users ... (); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate method
Result
16

java.transaction.jar

java.transaction.jar
Issue
16

Threaded Test - Failed to commit transaction: Unexpected internal exception

Threaded Test - Failed to commit transaction: Unexpected internal exception
Result
14

How to upgrade from ObjectDB 1.0?

. ObjectDB 2.0 uses optimistic transactions by default (the default was datastore transactions in
Tutorial
14

Step 3: Define an EJB Session Bean

with the @PersistenceContext annotation). Handles transactions automatically using JTA - no need to wrap every operation that modifies the database (such as persist) by transaction begin and commit
Tutorial
14

Step 3: Define an EJB Session Bean

(because it is annotated with the @PersistenceContext annotation). Handles transactions automatically ... transaction begin and commit. The next step is adding a Servlet Class that will serve as the application controller.
Manual
14

JPA Lifecycle Events

throws an exception within an active transaction, the transaction is marked for rollback
JDO Doc
14

javax.jdo.spi.PersistenceCapable

is persistent, transactional, dirty, new, deleted, or detached; and to get its associated ... 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