All Classes and Interfaces
Class
Description
This transaction manager keeps track of the readOnly value of top level transactions and sets this value to a
ThreadLocal, which can be used somewhere else, for instance by
ReadReplicaAwareTransactionRoutingDataSource to route to the
corresponding datasource.This DataSource implementation resolves a target DataSource depending on the read-only value of the top-level
transaction.
This class is responsible for registering the read replica transaction manager bean definition if the read replica
feature is enabled.
Meta-annotation for
@Transactional that indicates that a read-only transaction should be
started on a read-only replica instance of a database.