So what is a transaction, anyway?
那么到底什么是事务呢?
Do not record a transaction once.
不要去记录一个交易。
We now need a transaction definition.
现在我们需要事务定义。
什么是事务?
人生就是一场交易。
However, Castor is not a transaction manager.
然而,Castor不是事务管理器。
To start a transaction the application calls begin .
应用程序调用begin开始事务。
You definitely want to do this outside of a transaction.
你应该明确地在事务之外做这项工作。
Get the trade order without starting a transaction.
获取交易订单,但不启动事务。
Add a transaction definition entry for each transaction.
为每个事务添加事务定义项。
Which object will be responsible for ending a transaction?
哪一个对象将负责结束一个事务?
The "perform a transaction" use case modifies the balance.
“完成交易”用例修改余额。
Our usage: We open a transaction and read a big result set.
我们的用法:我们打开事务并读取大结果集。
Which object will be responsible for starting a transaction?
哪一个对象将负责开始一个事务?
There isn't even any code to define a transaction or make it XA.
甚至没有任何代码用于定义事务或者将事务变为 XA。
Why would you need a transaction if you are only reading data?
如果只是读取数据,需要事务吗?
A transaction that could be done on the market moves into the firm.
一项在市场上的做的交易可以转移到公司的内部。
The read-only flag is applied only if a transaction is started.
只读标志只在事务启动时应用。
Remember, what I described in this article is a transaction strategy.
记住,本文所描述的是一种事务策略。
The correct answer here is A. A transaction is started and committed.
正确的答案是 A。一个事务会被启动并提交。
It is the latter object that wraps the unit of work in a transaction.
后面这个对象将工作单元打包到事务中。
Each step in a long-running process is a transaction in and of itself.
一个长期运行流程的每一步都是该流程自身的或流程中的一个事务。
Why does the commit or rollback of a transaction close the result set?
为何事务的提交或回滚关闭结果集?
The example for this exercise is a transaction management program.
可以将一个事务管理程序作为练习的例子。
Start a transaction, get the trade order, then commit the transaction.
启动一个事务,获取交易订单,然后提交事务。
To draw a parallel, the concept is very similar to a transaction context.
作一比较,这个概念非常类似于事务上下文。
An issue with a transaction occurred that can be resolved by a single person.
可以由单个人解决的事务问题。
In the source code, you can now use the platform manager to get a transaction.
在源代码中,您现在可以使用平台管理程序获取一个事务。
If the method is allowed to execute, you know a transaction was not present.
如果允许执行方法,则您知道事务未被呈现。
If the method is allowed to execute, you know a transaction was not present.
如果允许执行方法,则您知道事务未被呈现。
应用推荐