public void run() {
   final ISQLConnection conn = _session.getSQLConnection();
   final SessionProperties props = _session.getProperties();
   if (conn != null) {
     boolean auto = true;
     try {
       auto = conn.getAutoCommit();
     } catch (SQLException ex) {
       s_log.error("Error with transaction control", ex);
       _session.showErrorMessage(ex);
     }
     try {
       conn.setAutoCommit(props.getAutoCommit());
     } catch (SQLException ex) {
       props.setAutoCommit(auto);
       _session.showErrorMessage(ex);
     }
   }
 }