Spring的声明式事务管理可以被应用到任何类(以及那个类的实例)上,不仅仅是像EJB那样的特殊类。
Spring enables declarative transaction management to be applied to any class (and attendant instances of that class), not merely special classes such as EJBs.
如果您未使用此注释,则容器将假定您使用声明式事务管理(CONTAINER),它是EJB 3.0的默认事务类型。
If you don't use this annotation, the container assumes you are using declarative transaction management (container), which is the default transaction type for EJB 3.0.
使用SpringAOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
With the Spring AOP, any object managed by the Spring Framework can become aspect oriented, and this tutorial relies on the declarative transaction management services provided via the Spring AOP.
使用SpringAOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
With the Spring AOP, any object managed by the Spring Framework can become aspect oriented, and this tutorial will rely on the declarative transaction management services provided by the Spring AOP.
声明式事务划分允许您为软件的事务行为声明规则,并让事务管理器自动执行这些规则。
Declarative transaction demarcation lets you declare rules for the transactional behavior of the software, and have the transaction manager automatically carry out these rules.
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
应用推荐