此内容没有您所选择的语言版本。
5.7. Set the Transaction Wrapping Mode
You can set the transaction mode as a property when you establish the connection using:
- the
autoCommitTxn
property in the connection URL (see Section 2.8, “Connection Properties for the Driver and Data Source Classes”), - the
setAutoCommitTxn
method (see Section 2.8, “Connection Properties for the Driver and Data Source Classes”), - or on a per-query basis, using the SET statement with the
PROP_TXN_AUTO_WRAP
property (see Section 4.5, “Execution Properties”).