你顶楼给出的例子中间并没有运用到声明性事务(declarative transaction),我觉得也许你有必要搞清楚它和在业务代码中直接硬编码的事务有何区别再回头想一想你的论题。
基于8个网页-相关网页
Declarative Transaction Management 事务管理 ; 如申明型事务治理 ; 声明式事务管理
Declarative Transaction Model 声明式事务模型
In this case, you can use the declarative transaction model provided by Spring.
在这种情况下,您可以使用Spring提供的声明式事务模型。
The DAO may use Spring's declarative transaction demarcation as described above.
DAO可以使用上面描述的Spring声明式事务划分。
The method to include the above lines was annotated with a Spring 2.5 declarative transaction.
包含上述代码的方法加上了Spring 2.5声明式事务的注解。
应用推荐