title: JPA @JoinColumn issues while joining on non primary key columns
body: <p>I want to connect table based on one direction join, here is my code:</p>
  
  <pre><code>Class Person {
  
  @id
  String person_sk;
  
  int person_id;
  
  String Person_name;
  
  @OneToMany
  @joinColumn (name="person_reference_id")
  List&lt;address&gt; getAddresses() {}
  
  }
  
  class Address
  {
  
  @id
  int person_reference_id (referred from Person);
  
  @id
  int address_id;
  
  @id
  int phone_id;
  
  String street_name, zip_code;
  
  }
  </code></pre>
  
  <p>Now when I do getAddress, it does not work, because my join is based on person_ref_id and @id (primaryKey) column in Person class is person_sk.</p>
  
  <p>If I use referencedColumn then also it doesn't work.</p>