Spring事务
Java · 3 notes
- Spring Transaction Source Analysishistorical
1. Enable transaction management. 2. TransactionManagementConfigurationSelector imports AutoProxyRegistrar and ProxyTransactionManagementConfiguration. 3. Study AutoProxyRegistrar. 4. Study ProxyTransactionManagementConfiguration and transaction interception.
- Spring Transaction Propagationhistorical
1. What transaction propagation is. 1.1. Propagation behaviors including REQUIRED, SUPPORTS, MANDATORY, REQUIRES_NEW, NOT_SUPPORTED, and NEVER. 1.2. Notes. 2. References.
- 2.53 Usagehistorical
Create a project, configure pom.xml, and use Spring transactions with DbConfig, TestService, and TestDao.