您不需要写任何代码来控制事务行为。
You do not need to write any code to control the transaction behavior.
事务界定代码从DAO中分离出来。
与清单1中的示例不同,由于有宣告式事务划分,这段组件代码中没有事务管理代码。
Unlike the example in Listing 1, with declarative transaction demarcation there is no transaction management code in the component methods.
应用推荐