title: Merging an object with FetchType.EAGER relation leads to "FailedObject"
body: <p>I have an entity VM with a relationship to another entity BP. The relationship is eagerly fetched. First I load a VM. After loading the VM is detached, serialized and changed at the client side. Now I want to update the changed entity so I use the EntityManager.merge() method from JPA. Now I run into the following error from OpenJPA:</p>
  
  <blockquote>
    <p><em>"Encountered new object in persistent field "Vm.bp" during attach.  However, this field does not allow cascade attach. Set the cascade attribute for this field to CascadeType.MERGE or CascadeType.ALL (JPA annotations) or "merge" or "all" (JPA orm.xml). You cannot attach a reference to a new object without cascading."</em></p>
  </blockquote>
  
  <p>Why do I have to add a Cascade.MERGE to a relationship to another entity that will never change? And why does JPA think that BP is a new object ("...cannot attach reference to a new object...")?
  When using ManyToOne relationships do I always have to add Cascade.MERGE in order to update the entity or is this because of the EAGER fetch type?</p>
  
  <p>Here's my entity:</p>
  
  <pre><code>@Entity
  @Table(name = "VM")
  public class Vm extends BaseEntity implements Serializable {
      public static final long serialVersionUID = -8495541781540291902L;
      @Id
      @SequenceGenerator(name = "SeqVm", sequenceName = "SEQ_VM")
      @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SeqVm")
      @Column(name = "ID")
      private Long id;
      // lots of other fields and relations
  
      @ManyToOne(fetch = FetchType.EAGER)
      @JoinColumn(name = "BP_ID")
      private Bp bp;
  
      // ...
  }
  </code></pre>