/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }
/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }
/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }
/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }
/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }
/** * Not allowed if within a transaction. */ public void setAutoCommit(boolean autoCommit) throws SQLException { if (transactionRunning()) { if (autoCommit) throw new SQLException(jdbcLogger.i18NLogger.get_autocommit()); } else { getConnection().setAutoCommit(autoCommit); } }