不用在相同的方法中使用编程事务,而是将更新操作移动到调用栈的另一个公共方法中。
Rather than using programmatic transactions within the same method, you can move the update operations to another public method within the call stack.
在无状态会话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).
应用推荐