public synchronized void deleteFile(JDBCSequentialFile file) throws SQLException {
  try {
    connection.setAutoCommit(false);
    deleteFile.setInt(1,file.getId());
    deleteFile.executeUpdate();
    connection.commit();
  }
 catch (  SQLException e) {
    connection.rollback();
    throw e;
  }
}

public synchronized void deleteFile ( JDBCSequentialFile file ) throws SQLException { try { connection . setAutoCommit ( false ) ; deleteFile . setInt ( 1 , file . getId ( ) ) ; deleteFile . executeUpdate ( ) ; connection . commit ( ) ; } catch ( SQLException e ) { connection . rollback ( ) ; throw e ; } }
deletes the associated row in the database .
