About Transaction

91-100 of 200Refresh
Manual
13

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
Manual
13

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
13

UPDATE SET Queries in JPA/JPQL [2011-11-22]

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
13

Detached Entity Objects

method, which clears an EntityManager's persistence context. Rolling back a transaction - either by ... transaction when merge is called because operations that might modify the database require an active transaction. Cascading Merge Marking a reference field with CascadeType.MERGE (or CascadeType
Tutorial
10

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.
Result
10

How to upgrade from ObjectDB 1.0?

. ObjectDB 2.0 uses optimistic transactions by default (the default was datastore transactions in
Manual
10

JPA Lifecycle Events

throws an exception within an active transaction, the transaction is marked for rollback
Tutorial
10

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
JDO Doc
10

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
JDO Doc
10

javax.jdo.spi.StateManager

identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction. Parameters: pc - the calling ... the current transaction, this method returns the current identity as changed in the transaction