getAutoCommit()

Syntax:

boolean getAutoCommit() throws SQLException

Description:

Retrieves the current auto-commit mode for this Connection object.

Returns:

the current state of this Connection object's auto-commit mode

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.getAutoCommit()