<< Click to Display Table of Contents >>
Auto Commit
Indicates whether to allow auto commit
Values
True |
Allow auto commit |
False |
Not allow auto commit |
Reference
Generally, JDBC supports auto commit. But there are some restrictions according to user environments.
For example, when Oracle connects to DB2, set as below:
JDBC |
OZ |
com.setAutoCommit(false) |
auto commit=false |
com.preparedStatement(sqlstr) |
Compiled SQL=true |
For more information, refer to the JDBC documents provided by the database vendor.
See Also