Spring enables declarative transaction management to be applied to any class (and attendant instances of that class), not merely special classes such as EJBs.
Spring的声明式事务管理可以被应用到任何类(以及那个类的实例)上,不仅仅是像EJB那样的特殊类。
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.
如果您未使用此注释,则容器将假定您使用声明式事务管理(CONTAINER),它是EJB 3.0的默认事务类型。
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.
使用SpringAOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
Unlike the example in Listing 1, with declarative transaction demarcation there is no transaction management code in the component methods.
与清单1中的示例不同,由于有宣告式事务划分,这段组件代码中没有事务管理代码。
Declarative transactions, such as those in EJB's are [a] sledge hammer approach to simplifying transaction management, assuming that every database operation behind the bean is of equal importance.
假设Bean后面的每个数据库操作都是同等重要的,那么声明性事务(就像EJB中的那些)就是一个简化事务管理的强有力的方法。
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).
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
应用推荐