code: private void deleteReferences(ClassDescriptor cld, Object obj, Identity oid, boolean ignoreReferences) throws PersistenceBrokerException
      {
      	List listRds = cld.getObjectReferenceDescriptors();
          // get all members of obj that are references and delete them
          Iterator i = listRds.iterator();
          while (i.hasNext())
          {
              ObjectReferenceDescriptor rds = (ObjectReferenceDescriptor) i.next();
              if ((!ignoreReferences && rds.getCascadingDelete() == ObjectReferenceDescriptor.CASCADE_OBJECT)
                      || rds.isSuperReferenceDescriptor())
              {
                  Object referencedObject = rds.getPersistentField().get(obj);
                  if (referencedObject != null)
                  {
                  	if(rds.isSuperReferenceDescriptor())
                  	{
                  		ClassDescriptor base = cld.getSuperClassDescriptor();
                  		/*
   	  	                 arminw: If "table-per-subclass" inheritance is used we have to
   	  	                 guarantee that all super-class table entries are deleted too.
   	  	                 Thus we have to perform the recursive deletion of all super-class
   	  	                 table entries.
                  		 */
                  		performDeletion(base, referencedObject, oid, ignoreReferences);
                  	}
                  	else
                  	{
                  		doDelete(referencedObject, ignoreReferences);
                  	}
                  }
              }
          }
      }
docs: Deletes references that <b>obj</b> points to.
  All objects which we have a FK poiting to (Via ReferenceDescriptors)
  will be deleted if auto-delete is true <b>AND</b>
  the member field containing the object reference is NOT null.
  
  @param obj Object which we will delete references for
  @param listRds list of ObjectRederenceDescriptors
  @param ignoreReferences With this flag the automatic deletion/unlinking
  of references can be suppressed (independent of the used auto-delete setting in metadata),
  except {@link org.apache.ojb.broker.metadata.SuperReferenceDescriptor}
  these kind of reference (descriptor) will always be performed.
  @throws PersistenceBrokerException if some goes wrong - please see the error message for details