title: Doctrine 2.0 vs 2.1 cascade remove OneToMany
body: <p>Hello I have problem when trying to cascade remove entities in OneToMany relations.
  After a few hours of debugging I tried to downgrade the doctrine from the latest 2.1.2 to 2.0.2 and It suddenly starts working.</p>
  
  <p>Imagin two entities Company and Address in relation 1:N.</p>
  
  <pre><code>/**
   * @Entity
   */
  class Company extends Entity
  {
  
   /**
    * @var integer
    * @id @Column(type="integer")
    * @generatedValue
    */
   private $id;
  
   /**
    * @var Collection
    * @OneToMany(targetEntity="Address",mappedBy="company", cascade={"persist","remove"})
    */
   private $addresses;
  }
  
  
  
  /**
   * @Entity
   */
  class Address extends Entity
  {
  
   /**
    * @var integer
    * @id @Column(type="integer")
    * @generatedValue
    */
   private $id;
  
   /**
    * @var Company
    * @ManyToOne(targetEntity="Company", inversedBy="addresses")
    * @JoinColumn(name="company_id", referencedColumnName="id",nullable=false)
    */
   private $company;
  }
  </code></pre>
  
  <p>when I try to remove the entity Company, I would like the assigned addresses will be removed as well.</p>
  
  <pre><code>$em-&gt;remove($company);
  $em-&gt;flush();
  </code></pre>
  
  <p>In doctrine 2.1.2 the deletion of addresses is not performed so the integrity constraint fails. In version 2.0.2 there it works perfectly. Wierd thing on it is, if I use EntityAudit extension <a href="https://github.com/simplethings/EntityAudit">https://github.com/simplethings/EntityAudit</a> the LogRevisionListener is corretly versioning the addresses entities (set them revtype = DEL) in doctrine 2.1.2 (of course in 2.0.2 as well) but the UnitOfWork is not removing it.</p>
  
  <p>Is there any difference how to handle cascade removing in 2.0.2 and in 2.1.2?</p>
  
  <p>Thank you very much</p>