Spring transaction source code (1)
1. Before talking about the source code, first understand the interfaces and classes in some transactions
PlatformTransactionManager
Through this interface, Spring provides corresponding transaction managers for various platforms such as JDBC, Hibernate, etc., but the specific implementation is the business of each platform.
TransactionDefinitionDefinition of transaction attributes The
TransactionDefinition interface defines 5 methods and some constants representing transaction attributes such as isolation level, propagation behavior, etc.
TransactionStatus interface
The TransactionStatus interface is used to record the status of the transaction. This interface defines a set of methods to obtain or judge the corresponding status information of the transaction.
Second, this chapter is here, and the next chapter will start source code analysis.