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声明式事务的注解。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
The declarative transaction Settings for the stateless session bean are done in the ejb deployment descriptor (ejb-jar.xml).
无状态会话Bean的声明式事务设置可以在ejb部署描述符(ejb - jar . xml)中完成。
Unlike the example in Listing 1, with declarative transaction demarcation there is no transaction management code in the component methods.
与清单1中的示例不同,由于有宣告式事务划分,这段组件代码中没有事务管理代码。
All the strategies can be used to perform declarative transaction demarcation either via embedded attributes or non-invasive XML configuration.
所有的事务策略都可以通过嵌入的特性或者非侵入性的XML配置来完成。
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的默认事务类型。
If you use Spring 2.5 with WebSphere Application Server V6.0.2.19 or V6.1.0.9 or later, you can take advantage of full support for Spring's declarative transaction model.
如果将Spring 2.5与WebSphereApplicationServerV6.0.2.19或V6.1.0.9或者更高版本一起使用,则可以利用对Spring的声明式事务模型的完全支持。
Because you cannot programmatically pass a transaction context, the API layer must use the declarative transaction model, meaning that the container manages the transaction.
由于您不能通过编程传递事务上下文,因此 API层必须使用声明式事务模型,这表示容器将管理事务。
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提供的声明式事务管理服务。
Most of the transaction pitfalls discussed in this series' first article are associated with the Declarative transaction model.
本系列的第一篇文章所讨论的大多数事务陷阱都与Declarative Transaction模型相关。
The container will not automatically roll back a transaction on a checked exception when you use the Declarative Transaction model.
在使用Declarative Transaction 模型时,容器将不会针对检测到的异常自动回滚事务。
Declarative transaction demarcation lets you declare rules for the transactional behavior of the software, and have the transaction manager automatically carry out these rules.
声明式事务划分允许您为软件的事务行为声明规则,并让事务管理器自动执行这些规则。
Suppose you want to stick with using the Declarative transaction model to simplify the transaction processing but still increase throughput during a high-user-concurrency scenario.
假设您希望坚持使用Declarative Transaction模型来简化事务处理,但是仍然能在高用户并发性场景中增加吞吐量。
Suppose you want to stick with using the Declarative transaction model to simplify the transaction processing but still increase throughput during a high-user-concurrency scenario.
假设您希望坚持使用Declarative Transaction模型来简化事务处理,但是仍然能在高用户并发性场景中增加吞吐量。
应用推荐