Sets whether auto-commit is enabled or disabled on the specified connection object.
Syntax
setAutoCommit( connection , boolean )
connection.setAutoCommit( boolean )
Parameters
connection
|
the connection object to use.
|
boolean
|
true to enable auto-commit mode.
false to disable auto-commit mode.
|
Returns
Example
con.setAutoCommit( true )
|