Home » Search

About transaction

171-180 of 200Refresh
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
JDO Doc
3

getObjectId(pc)

is only valid within the current transaction. Parameters: pc - the PersistenceCapable instance. Returns: a copy of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 1.0
JDO Doc
3

getObjectId(pc)

the application or the data store, then the ObjectId returned is only valid within the current transaction ... of the beginning of the transaction. Since: JDO 2.0 See Also: PersistenceManager.getObjectId(Object pc
JDO Doc
3

getObjectId(pc)

Method javax.jdo.spi.StateManager Object getObjectId(   PersistenceCapable pc ) Return the object representing the JDO 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
JDO Doc
3

getPersistenceManager(pc)

Static Method javax.jdo.JDOHelper PersistenceManager getPersistenceManager(   Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager. Transient non-transactional instances and instances of classes
JDO Doc
3

getPersistenceManager(pc)

Method javax.jdo.spi.StateInterrogation PersistenceManager getPersistenceManager(   Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager. Transient non-transactional instances return null. Instances
JDO Doc
3

getPersistenceManagerProxy()

current transaction. In this case, the close method is ignored, as the PersistenceManager is automatically closed when the transaction completes. When used with a PersistenceManagerFactory that uses