Hitachi

Hitachi Advanced Database Application Development Guide


8.2.8 getAutoCommit()

Organization of this subsection

(1) Function

This method acquires the current automatic commit mode for this Connection object.

(2) Format

public synchronized boolean getAutoCommit() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns the current automatic commit mode for this Connection object.

(5) Exceptions

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