title: using onDelete with Doctrine 2
body: <p>I can't get the onDelete to work in Doctrine2 (with YAML Mapping).</p>
  
  <p>I tried this relation in my <code>Product</code> class:</p>
  
  <pre><code>oneToOne:
      category:
        targetEntity: Category
        onDelete: CASCADE
  </code></pre>
  
  <p>But that doesn't work..</p>
  
  <p>EDIT:</p>
  
  <p>I've set the <code>ON DELETE: CASCADE</code> manually in the database</p>
  
  <p>imported the YAML mapping with <code>doctrine:mapping:import</code>,</p>
  
  <p>emptied the database</p>
  
  <p>updated it from the schema with <code>doctrine:schema:update</code> and got no <code>ON DELETE</code> in the foreign key.. so looks like even Doctrine doesn't know how to do it lol..</p>