We'll focus on programmatic transaction demarcation.
我们将侧重于编程式事务界定。
If they are not, then you will most likely need to use the Programmatic Transaction model.
如果不是这样的话,那么很可能需要使用编程序事务(Programmatic Transaction)模型。
The example code in Listing 1 demonstrates a bean-managed transaction (sometimes called a programmatic transaction.)
清单1中的示例代码演示了bean 管理的事务(有时也称为 编程(programmatic)事务)。
The Programmatic transaction model gets its name from the fact that the developer is responsible for managing the transaction.
Programmatic Transaction模型的名称来自这样一个事实:开发人负责管理事务。
You would need to use programmatic transactions in the client method (see " Transaction strategies: Models and strategies overview").
您需要在客户机方法中使用编程式的事务(参见 “事务策略:模型和策略概述”)。
It's a good idea to stick with the Programmatic transaction model when using this transaction strategy so you don't run into issues down the road.
在使用这种事务策略时,不应该坚持使用这种Programmatic Transaction模型,这样您就不会遇到各种问题。
When the transactional requirements of the application are not very complex, programmatic transaction demarcation can be cumbersome and error-prone.
当应用程序的事务需求并不非常复杂时,编程方式的事务划分可能非常繁琐和容易出错。
When you use programmatic transactions in the client layer outside of the context of a stateless session bean, you don't need to set the transaction type.
在无状态会话bean上下文外部的客户机层中使用编程事务时,您不需要设置事务类型。
Specifically, you'll learn about the JCA's two transaction demarcation techniques, distributed transaction demarcation and programmatic transaction demarcation.
具体地说,您将学习JCA的两个事务界定技术:分布式事务界定和程序性事务界定。
No other methods, classes, or components should contain transaction logic (including transaction annotations, programmatic transaction logic, and rollback logic).
其他方法、类或组件都不应包含事务逻辑(包括事务注释、编程序事务逻辑和回滚逻辑)。
With programmatic transaction management, developers work with the Spring transaction abstraction, which can run over any underlying transaction infrastructure.
使用编程序事务管理,开发者直接使用Spring事务抽象,这个抽象可以使用在任何底层事务基础之上。
Notice that this annotation is at the class level (not the method level), indicating that you clearly cannot combine the Declarative and Programmatic transaction models in the same class.
注意,这个注释是类级的(而不是方法级的),这表示您不能在相同的类中结合Declarative和Programmatic事务模型。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Or, do we need for example, a programmatic approach, and specific xml messages to handle transaction management and tell the backend to reverse the last message effect?
或者,我们是否需一种途径、一个特殊的xml消息来处理事务管理并通知后台退回到上一个消息?
The J2EE specification describes two models for transaction demarcation: programmatic and declarative. Table 1 breaks down the two models.
J2EE规范描述了两种事务界定的模型:编程序(programmatic)和声明式(declarative)。
The J2EE specification describes two models for transaction demarcation: programmatic and declarative. Table 1 breaks down the two models.
J2EE规范描述了两种事务界定的模型:编程序(programmatic)和声明式(declarative)。
应用推荐