title: Unidirectional one-to-many using a Join Column
body: <p>I've got the followings mappings (@OneToMany unidirectional). The fk is placed in IssueManagement and when I insert a new issuemanagement, two sql statements are executed (insert into IssueManagement and then update the fk) rather than just insert! I know that the fk is placed in owned table(IssueManagement) and the owner(Issue) is on the other side. Is there any workaround so that only one insert statement is executeD?</p>
  
  <pre><code>@Entity
  @Table
  public class Issue {
      @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
      private Long id;
  
      @OneToMany(fetch=FetchType.EAGER, cascade={CascadeType.ALL})
      @JoinColumn(name="issue_id", nullable=false)
      List&lt;IssueManagement&gt; issueManagements= new ArrayList&lt;IssueManagement&gt;();
  
      public Long getId() {
          return id;
      }
      public void setId(Long id) {
          this.id = id;
      }
      public List&lt;IssueManagement&gt; getIssueManagements() {
          return issueManagements;
      }
      public void addIssueManagment(IssueManagment issueManagment) {
          issueManagements.add(issueManagment);
      }
  }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>@Entity
  @Table
  public class IssueManagement {
      @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
      private Long id;
  
      public Long getId() {
          return id;
      }
      public void setId(Long id) {
          this.id = id;
      }
  }
  </code></pre>