fullRuntime/src/sc/db/DBTransaction.java
public void commit() {
      flush();
      if (connections != null) {
         TreeMap<String,Connection> toCommit = connections;
         if (!autoCommit) {
            for (Connection conn:toCommit.values()) {
               try {
                  conn.commit();
               }
               catch (SQLException exc) {
                  throw new IllegalArgumentException("Commit transaction failed: " + exc);
               }
            }
         }
      }
   }
/** Flush pending operations and commit any transactions */
Flush pending operations and commit any transactions
Flush pending operations and commit any transactions
public void commit() {
      flush();
      if (connections != null) {
         TreeMap<String,Connection> toCommit = connections;
         if (!autoCommit) {
            for (Connection conn:toCommit.values()) {
               try {
                  conn.commit();
               }
               catch (SQLException exc) {
                  throw new IllegalArgumentException("Commit transaction failed: " + exc);
               }
            }
         }
      }
   }
public void commit ( ) { flush ( ) ; if ( connections != null ) { TreeMap < String , Connection > toCommit = connections ; if ( ! autoCommit ) { for ( Connection conn : toCommit . values ( ) ) { try { conn . commit ( ) ; } catch ( SQLException exc ) { throw new IllegalArgumentException ( "Commit transaction failed: " + exc ) ; } } } } }
Flush pending operations and commit any transactions
Flush pending operations and commit any transactions