Hitachi

Hitachi Advanced Database Application Development Guide


8.2.31 setAutoCommit(boolean autoCommit)

Organization of this subsection

(1) Function

This method sets the automatic commit mode for this connection.

(2) Format

public synchronized void setAutoCommit(boolean autoCommit) throws SQLException

(3) Arguments

boolean autoCommit

Specifies true to enable the automatic commit mode or false to disable it.

(4) Return value

None.

(5) Exceptions

If this Connection object is closed, the JDBC driver throws an SQLException.

(6) Notes