08 2020 档案
摘要:一、使用方法 1、通过在xml中进行配置 //注入事物管理器 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name=
阅读全文
摘要:主流程分析: 1、通过annotation-driven标签 进行 解析、注册。 <tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" /> init方法中,通过Annotat
阅读全文