# Package org.springframework.transaction

@NonNullApi @NonNullFields package org.springframework.transaction
Spring's core transaction management APIs (independent of any specific transaction management system); an exception hierarchy for Spring's transaction infrastructure; and transaction manager, definition, and status interfaces.

Related Packages
Package
Description
org.springframework.transaction.annotation
Spring's support for annotation-based transaction demarcation.
org.springframework.transaction.config
Support package for declarative transaction configuration, with XML schema being the primary configuration format.
org.springframework.transaction.event
Spring's support for listening to transaction events.
org.springframework.transaction.interceptor
AOP-based solution for declarative transaction demarcation.
org.springframework.transaction.jta
Transaction SPI implementation for JTA.
org.springframework.transaction.reactive
Support classes for reactive transaction management.
org.springframework.transaction.support
Support classes for the org.springframework.transaction package.
Class
Description
CannotCreateTransactionException
Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.
ConfigurableTransactionManager
Common configuration interface for transaction manager implementations.
HeuristicCompletionException
Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.
IllegalTransactionStateException
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.
InvalidIsolationLevelException
Exception that gets thrown when an invalid isolation level is specified, i.e.
InvalidTimeoutException
Exception that gets thrown when an invalid timeout is specified, that is, the specified timeout valid is out of range or the transaction manager implementation doesn't support timeouts.
NestedTransactionNotSupportedException
Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.
NoTransactionException
Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction.
PlatformTransactionManager
This is the central interface in Spring's imperative transaction infrastructure.
ReactiveTransaction
Representation of an ongoing `ReactiveTransactionManager` transaction.
ReactiveTransactionManager
This is the central interface in Spring's reactive transaction infrastructure.
SavepointManager
Interface that specifies an API to programmatically manage transaction savepoints in a generic fashion.
TransactionDefinition
Interface that defines Spring-compliant transaction properties.
TransactionException
Superclass for all transaction exceptions.
TransactionExecution
Common representation of the current state of a transaction.
TransactionExecutionListener
Callback interface for stateless listening to transaction creation/completion steps in a transaction manager.
TransactionManager
Marker interface for Spring transaction manager implementations, either traditional or reactive.
TransactionStatus
Representation of an ongoing `PlatformTransactionManager` transaction.
TransactionSuspensionNotSupportedException
Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.
TransactionSystemException
Exception thrown when a general transaction system error is encountered, like on commit or rollback.
TransactionTimedOutException
Exception to be thrown when a transaction has timed out.
TransactionUsageException
Superclass for exceptions caused by inappropriate usage of a Spring transaction API.
UnexpectedRollbackException
Thrown when an attempt to commit a transaction resulted in an unexpected rollback.