code: public void deletePersistent(Object object)
      {
          if (!this.isOpen())
          {
              throw new DatabaseClosedException("Database is not open");
          }
          TransactionImpl tx = getTransaction();
          if (tx == null || !tx.isOpen())
          {
              throw new TransactionNotInProgressException("No transaction in progress, cannot delete persistent");
          }
          RuntimeObject rt = new RuntimeObject(object, tx);
          tx.deletePersistent(rt);
  //        tx.moveToLastInOrderList(rt.getIdentity());
      }
docs: Deletes an object from the database.
  It must be executed in the context of an open transaction.
  If the object is not persistent, then ObjectNotPersistent is thrown.
  If the transaction in which this method is executed commits,
  then the object is removed from the database.
  If the transaction aborts,
  then the deletePersistent operation is considered not to have been executed,
  and the target object is again in the database.
  @param	object	The object to delete.