Top Description Interfaces Classes
module spring.tx

Package org.springframework.transaction

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

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.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConfigurableTransactionManager

Common configuration interface for transaction manager implementations.

public interface
PlatformTransactionManager

This is the central interface in Spring's imperative transaction infrastructure.

public interface
ReactiveTransaction

Representation of an ongoing ReactiveTransactionManager transaction.

public interface
ReactiveTransactionManager

This is the central interface in Spring's reactive transaction infrastructure.

public interface
SavepointManager

Interface that specifies an API to programmatically manage transaction savepoints in a generic fashion.

public interface
TransactionDefinition

Interface that defines Spring-compliant transaction properties.

public interface
TransactionExecution

Common representation of the current state of a transaction.

public interface
TransactionExecutionListener

Callback interface for stateless listening to transaction creation/completion steps in a transaction manager.

public interface
TransactionManager

Marker interface for Spring transaction manager implementations, either traditional or reactive.

public interface
TransactionStatus

Representation of an ongoing PlatformTransactionManager transaction.

Class Summary

Modifier and TypeClass and Description
public class
CannotCreateTransactionException

Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.

public class
HeuristicCompletionException

Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.

public class
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.

public class
InvalidIsolationLevelException

Exception that gets thrown when an invalid isolation level is specified, i.e. an isolation level that the transaction manager implementation doesn't support.

public class
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.

public class
NestedTransactionNotSupportedException

Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.

public class
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.

pack-priv class
StaticTransactionDefinition

A static unmodifiable transaction definition.

public abstract class
TransactionException

Superclass for all transaction exceptions.

public class
TransactionSuspensionNotSupportedException

Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.

public class
TransactionSystemException

Exception thrown when a general transaction system error is encountered, like on commit or rollback.

public class
TransactionTimedOutException

Exception to be thrown when a transaction has timed out.

public class
TransactionUsageException

Superclass for exceptions caused by inappropriate usage of a Spring transaction API.

public class
UnexpectedRollbackException

Thrown when an attempt to commit a transaction resulted in an unexpected rollback.