To start a transaction the application calls begin .
应用程序调用begin开始事务。
Start a transaction, get the trade order, then commit the transaction.
启动一个事务,获取交易订单,然后提交事务。
The odd thing about the read-only flag is that you need to start a transaction in order to use it.
关于只读标志很奇怪的一点是:要使用它,必须启动一个事务。
IDS does not implicitly start a new transaction for the EXECUTE statement. So, you must start a transaction explicitly.
IDS不会隐式地为execute语句开始一个新事务。
First, if a method did not start a transaction, it has no business managing that transaction (for example, marking it for rollback).
首先,如果某个方法没有启动事务,那么它就不需要管理事务(例如,将其标记为回滚)。
The NotSupported transaction attribute specifies that the method being called will not use or start a transaction, regardless if one is present.
NotSupported事务属性指定被调用的方法将不使用或启动事务,无论是否呈现了事务。
With the API layer transaction strategy, it's not the end of the world if you start a transaction at the client layer during a refactoring effort.
对于api层事务策略,您在重构过程中在客户端层上开始一个事务并不会引起灾难性后果。
If you chose this approach, the calling component would need to start a transaction prior to calling methods on the EIS facade, or an exception would be raised.
如果选择这种方法,那么在调用组件时,需要在调用EIS代理的方法之前启动一个事务,否则就会抛出异常。
The CustomerSession bean should start a transaction prior to calling methods on OrderService because the transaction will encompass multiple operations on EIS1.
CustomerSessionbean应当在调用OrderService上的方法之前启动一个事务,因为要由这个事务来包装在EIS1上进行的多个操作。
As I said earlier, one of the biggest restrictions with this transaction strategy is that the client layer must be able to start a transaction and propagate it to the API layer.
如前所述,这种事务策略的最大一个限制就是,客户端层必须能够开始一个事务并将它传播给api层。
LINQ to SQL also supports explicitly setting the transaction on the context, so you could get the connection from the context, open it, start a transaction, and set it on the context.
LINQ toSQL同样支持显式设置上下文的事务,所以您可以获取上下文的数据库连接,然后打开它,开启一个事务,并在上下文中设置。
Unlike the required attribute, the MANDATORY attribute will not start a transaction if one does not exist, but rather will throw an exception indicating that a transaction is required.
与REQUIRED属性不同,MANDATORY属性将不会开始不存在的事务,而是抛出一个异常,指示需要事务。
An application program defines the start and end of a global transaction, accesses resources within transaction boundaries, and usually decides whether to commit or roll back each transaction.
应用程序对全局事务的开始和结束进行了定义,在事务界限内获取资源,并且通常决定是否提交或回滚每个事务。
The above technique would obviously fail if you were to start a different TCP connection for every request or transaction.
如果您打算为每个请求或者事务发起不同的TCP连接,那么上述的技术很明显会失效。
The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.
整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。
In standard JDBC code without auto-commit, the application USES a connection to access and update data, then commits the connection to end the transaction (and start another).
在没有自动提交的标准JDBC代码中,应用程序使用一个连接来访问和更新数据,然后提交该连接以结束这个事务(并启动另一个事务)。
The main purpose of the consumer layer is to gather all the information required to be able to start a business process or transaction.
使用者层的主要目的是,收集所需的所有信息,以便能启动业务流程或事务。
When specified on a service, the intent indicates that the service will run under the caller's global transaction, if one is present, or it will start a new one if no global transaction is present.
在服务上指定时,此意图将指示服务将在调用方的全局事务中运行(如果有全局事务),如果没有全局事务则将启动新的全局事务。
The current channel is set by the calling program or transaction by issuing a LINK, XCTL, START and pseudo-conversational RETURN with the channel parameter.
通过发出带有管道参数的LINK、XCTL、START和伪会话return,当前管道由调用程序或事务实现。
So a blocked worker thread, because it's waiting on a response from some remote service, can't proceed with the current transaction and can't start processing a new transaction either.
因此,由于阻塞工作线程会等待某个远程服务发送的响应,因此无法继续处理当前事务,也无法开始处理新事务。
An XA_OPEN is issued on the start of the new transaction and a connection is established.
新的事务开始运行时,发出XA_OPEN,并建立一个连接。
A new transaction would start when the CreditReporter returned the report and it was added to the information associated with the application.
当CreditReporter返回报告时,一个新的事务处理开始,并且报告被加入到与申请相联系的信息中。
You can see in Figure 4 that the XAResource is enlisted in the transaction (that is, receives a start flow) immediately after the connection is obtained.
在图4中可以看到,获得连接后,XAResource立即征募到了事务中(即接收一个开始流程)。
The two types of J2EE transactions -- container-managed and bean-managed -- differ in how they start and end a transaction.
两种类型的J2EE事务 ―容器管理的和bean 管理的 ―在如何启动和结束事务上是不同的。
When Required is set, a transaction in process will enlist your bean in that transaction, but if no transaction is running, the container will start one for you.
如果设置了Required,过程中的事务将在该事务中征用您的bean,但如果没有正在运行的事务,容器将为您启动一个。
After the application has a reference to the UserTransaction object it may start the transaction, as shown in Listing 5.
当应用程序找到了UserTransaction对象后,就可以开始事务了,如清单5所示。
The once-per-batch cost to start up a new transaction, dispatch the MDB, and perform transactional cleanup is b.
启动新事务、分派mdb和执行事务清除的每次一批的开销为b。
If a transaction is already running, the bean method will join in that transaction or the Spring lightweight transaction manager will start one for you.
如果事务已经在运行,那么bean方法会加入事务,否则Spring的轻量级事务管理器会启动一个事务。
This setting would ensure that bean methods could join a transaction already in progress or start a new transaction if need be.
该设置可以保证bean的方法可以加入已经进行的事务中,或者在需要的时候启动新的事务。
Without ending the transaction, establish a second database connection in a separate shell and start another transaction.
不需要结束事务,在一个单独的shell中建立第二个数据库连接并开始另一个事务。
应用推荐