private void commit() {
        try {
            // Execute any remaining batch inserts and commit the transaction.
            insertError.executeBatch();
            insertInfo.executeBatch();
            connection.commit();
        } catch (SQLException ex) {
            throw new StorageException(ex);
        }
    }
private void commit() {
        try {
            
            insertError.executeBatch();
            insertInfo.executeBatch();
            connection.commit();
        } catch (SQLException ex) {
            throw new StorageException(ex);
        }
    }
private void commit ( ) { try { // Execute any remaining batch inserts and commit the transaction. insertError . executeBatch ( ) ; insertInfo . executeBatch ( ) ; connection . commit ( ) ; } catch ( SQLException ex ) { throw new StorageException ( ex ) ; } }
This executes any remaining inserts and commits the transaction.
This executes any remaining inserts and commits the transaction .