Internal Website Search

101-110 of 200 resultsRefresh

javax.persistence.EntityTransaction

="description"> Interface used to control transactions on resource-local entity managers. The () Start a resource transaction. Start a resource transaction

javax.persistence.LockModeType

> If transaction T1 calls for a lock of type LockModeType.OPTIMISTIC on a versioned ... > P1 (Dirty read): Transaction T1 modifies a row. Another transaction T2 then reads that row and obtains the modified value, before T1 has committed or rolled back. Transaction T2

javax.persistence.TypedQuery

> - if there is no transaction transaction is rolled back - if a lock mode has been set and there is no transaction

Step 3: Define an EJB Session Bean

> annotation). Handles transactions automatically using JTA - no need to wrap every operation that modifies the database (such as persist) by transaction begin

Step 3: Define an EJB Session Bean

>@PersistenceContext annotation). Handles transactions automatically using JTA - no need to wrap every operation that modifies the database (such as persist) by transaction

javax.jdo.spi.PersistenceCapable

of instances. For example, an application can discover whether the instance is persistent, transactional, dirty ... the application or the data store, then the ObjectId returned is only valid within the current transaction. If the JDO identity is being changed in the transaction, this method returns the object

javax.jdo.spi.StateManager

identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction. transaction, this method returns the current identity as changed in the transaction.

javax.jdo.PersistenceManagerFactory

this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close

javax.jdo.spi.StateInterrogation

transaction. transaction. if there is one. Transactional and persistent instances return the associated

javax.jdo.JDOHelper

can discover whether the instance is persistent, transactional, dirty, new, deleted, or detached ... the data store, then the ObjectId returned is only valid within the current transaction. transaction.