Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

boolean com::mysql::jdbc::jdbc2::optional::ConnectionWrapper::getAutoCommit (  )  throws SQLException [inline]

Passes call to method on physical connection instance. Notifies listeners of any caught exceptions before re-throwing to client.

See also:
java.sql.Connection::getAutoCommit()

Definition at line 100 of file ConnectionWrapper.java.

References com::mysql::jdbc::jdbc2::optional::WrapperBase::checkAndFireConnectionError().

                                                       {
        checkClosed();

        try {
            return this.mc.getAutoCommit();
        } catch (SQLException sqlException) {
            checkAndFireConnectionError(sqlException);
        }

        return false; // we don't reach this code, compiler can't tell
    }


Generated by  Doxygen 1.6.0   Back to index