title: Hibernate Annotation Bidirectional relationship cascade delete with non null foreign key
body: <p>When performing a delete on an Order(the parent), hibernate is trying to cascade delete the children.  Instead of just deleting the children first, it is attempting to null out the foreign keys, then delete the parent, then delete the children.</p>
  
  <p>Is there a way to change my configuration to allow the children to be deleted first, then the parent to be deleted?  Bypassing the step of nulling out the foreign key?</p>
  
  <h2>Tables and relevant columns</h2>
  
  <p><strong>Order</strong></p>
  
  <p>id - PK, int, not null</p>
  
  <p><strong>OrderResult</strong></p>
  
  <p>id - PK, int, not null
  order_id - FK, int, not null</p>
  
  <h2>Entity specification</h2>
  
  <p><strong>Order</strong></p>
  
  <pre><code>@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
  @JoinColumn(name = "CLOrderID")
  public List&lt;OrderResult&gt; getOrderResults() {
      return orderResults;
  }
  </code></pre>
  
  <p><strong>OrderResult</strong></p>
  
  <pre><code>@ManyToOne
  @JoinColumn(name = "CLOrderID", nullable = false)
  public Order getOrder() {
      return order;
  }
  </code></pre>