/** * Gets the current setting for auto commit. * * @return true for on, false for off * @throws SQLException if the connection is closed */ @Override public synchronized boolean getAutoCommit() throws SQLException { try { checkClosed(); debugCodeCall("getAutoCommit"); return session.getAutoCommit(); } catch (Exception e) { throw logAndConvert(e); } }