从编程的观点来看,有不同的方法可以用来指定多个动作应该在单个事务的范围内。
From a programming perspective, there are different ways to specify that multiple actions should be within the scope of a single transaction.
尽管两者的编程模型非常相似,但是嵌入式事务容器还有一些独特的考虑事项。
Even though the programming models of the two are very similar, some aspects are unique to the embedded transaction container.
与服务器端编程模型相反,不存在用于构成针对存储库的原子事务的客户端机制。
In contrast to the server-side programming model, there is no client-side mechanism for composing atomic transactions over the repository.
不用在相同的方法中使用编程事务,而是将更新操作移动到调用栈的另一个公共方法中。
Rather than using programmatic transactions within the same method, you can move the update operations to another public method within the call stack.
必须显式管理事务上下文将增加JPA编程模型的复杂性。
Having to explicitly manage the transactional context would add complexity to the JPA programming model.
不过,在面向方面编程(AOP)出现之前,为横切行为(如安全、事务管理或者持久性)编写测试很困难。
Prior to the advent of aspect-oriented programming (AOP), however, it was difficult to write certain kinds of tests for crosscutting behavior such as security, transaction management, or persistence.
为xa通信配置的某些事务管理器会限制应用程序编程人员使用特定于资源管理器的两阶段提交语句。
Some transaction managers configured for XA communication restrict application programmers from using resource manager-specific two-phase commit statements.
因此,WS -AtomicTransaction将能够与任何其他的使用任何支持WS - AtomicTransaction的编程语言编码的事务服务相连接。
Therefore WS-AtomicTransaction will be able to interface with any other transaction service coded using any programming language which supports WS-AtomicTransaction.
除了简单的MVC功能之外,Spring带来很多其他功能,比如中间层访问、事务管理、面向方面的编程(AOP),依赖项注入等等。
Spring brings a lot to the table beyond simple MVC capabilities, such as middle-tier access, transaction management, aspect-oriented programming (AOP), dependency injection, and so on.
它是一个完整的编程模型,与其他平台上的WebSphere兼容,同时还保持有安全性、事务和工作负载管理方面的独特功能。
It is a complete programming model, compatible with WebSphere on other platforms while maintaining unique capabilities in the areas of security, transactions, and workload management.
SpringWebFlow是一种先进的 Web开发框架,提供了独特的功能以支持使用JPA/Hibernate 的持久化编程和事务管理。
Spring Web Flow as an advanced Web development framework offers unique features to support persistence programming and transaction management with JPA/Hibernate.
Dan在商业分布式计算技术的研究方面有20多年的经验,涉及的领域包括面向事务和对象的系统、编程语言、消息传递和数据库系统。
Dan has over 20 years of experience in research and commercial distributed computing ranging over transaction and object-oriented systems, programming languages, messaging, and database systems.
在无状态会话bean上下文外部的客户机层中使用编程事务时,您不需要设置事务类型。
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.
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
J2EE规范描述了两种事务界定的模型:编程序(programmatic)和声明式(declarative)。
The J2EE specification describes two models for transaction demarcation: programmatic and declarative. Table 1 breaks down the two models.
然而,Web容器不提供容器管理的事务服务,但是如果需要,可以通过应用程序以编程方式来控制事务范围。
There are, however, no container managed transaction services provided by the Web container, although applications can programmatically control the transaction scope if desired.
其他方法、类或组件都不应包含事务逻辑(包括事务注释、编程序事务逻辑和回滚逻辑)。
No other methods, classes, or components should contain transaction logic (including transaction annotations, programmatic transaction logic, and rollback logic).
在此类情况中,应用程序编程人员应确保测试了事务管理器的行为,以充分适应任何必需的特殊处理。
Application programmers should be sure to test the behavior of the transaction manager in such situations to sufficiently accommodate any necessary special handling.
他拥有事务处理、中间件以及UNIX平台上系统编程方面的经验。
He has experience in transaction processing, middleware, and system programming on UNIX platforms.
由于您不能通过编程传递事务上下文,因此 API层必须使用声明式事务模型,这表示容器将管理事务。
Because you cannot programmatically pass a transaction context, the API layer must use the declarative transaction model, meaning that the container manages the transaction.
当应用程序的事务需求并不非常复杂时,编程方式的事务划分可能非常繁琐和容易出错。
When the transactional requirements of the application are not very complex, programmatic transaction demarcation can be cumbersome and error-prone.
编程人员一般看不见api,因为事务的范围由部署描述符中的声明数据进行描述。
The API itself is usually invisible to programmers, as the scope of transactions is delineated by declarative data found in deployment descriptors.
应用程序编程人员应确保处理资源管理器返回的API错误,因为事务管理器可能无法处理这些错误中的某些错误。
Application programmers should make sure to handle the API errors returned by the resource managers, because it is possible that some of these errors are not handled by the transaction manager.
我们将侧重于编程式事务界定。
您需要在客户机方法中使用编程式的事务(参见 “事务策略:模型和策略概述”)。
You would need to use programmatic transactions in the client method (see " Transaction strategies: Models and strategies overview").
当Hildegard处理商业事务时,Katz将他几乎全部时间都花在编程上面。
While Hildegard worked to keep business matters in check, Katz devoted nearly all his time to programming.
Android提供了执行IPC事务所需的全部代码,因此只要把注意力放在定义和实现RPC编程接口上即可。
Android provides all the code to perform these IPC transactions, so you can focus on defining and implementing the RPC programming interface.
在Spring中,有许多方法可以驱动事务控制下的资源更新,这包括编程形式和声明形式。
There are a number of ways to drive resource updates under transactional control in Spring, including both programmatic and declarative forms.
新的SAP编程模型的目标是替代多个单独事务码冗长的、嵌套的屏幕序列。
The aim of the current SAP programming model is to replace long, nested screen sequences with single-screen transactions.
如果不是这样的话,那么很可能需要使用编程序事务(Programmatic Transaction)模型。
If they are not, then you will most likely need to use the Programmatic Transaction model.
应用推荐