什么是非 XML(在 @Configuration
中)等同于 <tx:annotation-driven>
在 Spring 3.1 中?
最佳答案
Spring 3.1 有 @EnableTransactionManagement
用于此目的的注释。
关于java - Spring 3.1 : Non-XML equivalent of annotation-driven transaction management,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9014759/