EntityTransaction

E836372

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

All labels observed (1)

Label Occurrences
EntityTransaction canonical 1

How this entity was disambiguated

Statements (36)

Predicate Object
instanceOf JPA interface ⓘ
Java interface ⓘ
associatedWith EntityManager ⓘ
linked to: Jakarta Persistence
begin() semantics starts a resource-local transaction ⓘ
category transaction management API ⓘ
commit() semantics commits the current transaction ⓘ
definedIn javax.persistence package ⓘ
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 ⓘ
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 ⓘ
relatedTo EntityManager.getTransaction() ⓘ
javax.persistence.EntityManager ⓘ
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 ⓘ

How these facts were elicited

Referenced by (1)

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

Java Persistence API → defines → EntityTransaction ⓘ