EntityTransaction

E836372

EntityTransaction is a Java Persistence API interface that manages the boundaries and lifecycle of resource-local transactions for entity managers.

Try in SPARQL Jump to: Statements Referenced by

Statements (36)

Predicate Object
instanceOf JPA interface
Java interface
associatedWith EntityManager NERFINISHED
begin() semantics starts a resource-local transaction
category transaction management API
commit() semantics commits the current transaction
definedIn javax.persistence package NERFINISHED
design intended for applications using local transactions instead of container-managed transactions
errorCondition IllegalStateException may be thrown if operations are invoked in an invalid state NERFINISHED
RollbackException may be thrown on commit if the commit fails
getRollbackOnly() semantics returns whether the current transaction is marked for rollback only
governs persistence context synchronization with the database during a transaction
hasMethod begin()
commit()
getRollbackOnly()
isActive()
rollback()
setRollbackOnly()
introducedIn JPA 1.0
isActive() semantics returns whether a transaction is in progress
lifecycleStep transaction begins with begin()
transaction ends with commit() or rollback()
notUsedFor JTA-managed transactions
partOf Java Persistence API NERFINISHED
relatedTo EntityManager.getTransaction()
javax.persistence.EntityManager NERFINISHED
requires an open EntityManager to be obtained
rollback() semantics rolls back the current transaction
scope applies to a single EntityManager instance
setRollbackOnly() semantics marks the current transaction for rollback only
threadAssociation typically associated with the thread that owns the EntityManager
usedFor controlling transaction boundaries
controlling transaction lifecycle
managing resource-local transactions
usedIn resource-local entity managers
visibility public interface in JPA

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Java Persistence API defines EntityTransaction