Package org.springframework.transaction
@NullMarked
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.
-
ClassDescriptionException thrown when a transaction can't be created using an underlying transaction API such as JTA.Common configuration interface for transaction manager implementations.Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.Exception that gets thrown when an invalid isolation level is specified, i.e.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.Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction.This is the central interface in Spring's imperative transaction infrastructure.Representation of an ongoing
ReactiveTransactionManager
transaction.This is the central interface in Spring's reactive transaction infrastructure.Interface that specifies an API to programmatically manage transaction savepoints in a generic fashion.Interface that defines Spring-compliant transaction properties.Superclass for all transaction exceptions.Common representation of the current state of a transaction.Callback interface for stateless listening to transaction creation/completion steps in a transaction manager.Marker interface for Spring transaction manager implementations, either traditional or reactive.Representation of an ongoingPlatformTransactionManager
transaction.Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.Exception thrown when a general transaction system error is encountered, like on commit or rollback.Exception to be thrown when a transaction has timed out.Superclass for exceptions caused by inappropriate usage of a Spring transaction API.Thrown when an attempt to commit a transaction resulted in an unexpected rollback.