title: Hibernate Enver : @AuditJoinTable rows missing
body: <p>Given an Entity that is audited by Envers, which contains one collection.</p>
  
  <p><strong>Entity A</strong></p>
  
  <pre><code>  @Audited
      public class A{
       @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      private int id;
      ....
      @OneToMany
      @JoinColumn(name = "a_id")
      @AuditJoinTable(name = "A_B_AUDIT"
              ,inverseJoinColumns = @JoinColumn(name = "a"))
      private List&lt;B&gt; bs;
      ....
  }
  </code></pre>
  
  <p><strong>Entity B</strong></p>
  
  <pre><code>@Audited
  public class B{
   @Id
   private int id;
   ....
   @Column(name = "a_id")
   private int aId;
  
   @ManyToOne
   @JoinColumn(name = "a_id", insertable = false, updatable = false)
   private A a;
  }
  </code></pre>
  
  <p>As per their <a href="https://docs.jboss.org/hibernate/envers/3.6/reference/en-US/html_single/#exceptions-onetomanyjoincolumn" rel="nofollow noreferrer">documentation</a> 
  Envers stores the audit information for additions and deletions to these AuditJoinTables (A_B_AUDIT). But Unfortunately, this is not working and the rows inside the tables are missing.</p>
  
  <p>When I run my project following tables gets created :</p>
  
  <p>A_AUDIT</p>
  
  <p>B_AUDIT</p>
  
  <p>A_B_AUDIT</p>
  
  <p>I've separate controllers to persist A object and B Object. When I try to save B with aId and A, audit_table (<strong>A_B_AUDIT</strong>) does not gets updated but <strong>B_AUDIT</strong> with updated revision gets updated.</p>
  
  <p>Can someone please let me know what i am missing here.</p>
  
  <p>Thank you !!</p>
  
  <p><strong>Hibernate Enver Version</strong> : 5.1.4.Final</p>