title: Inverse Relationships, Target Foreign Keys using Mapped By
body: <p>Two entities has bi-directional OneToOne relationship - <a href="https://en.wikibooks.org/wiki/Java_Persistence/OneToOne#Inverse_Relationships.2C_Target_Foreign_Keys_and_Mapped_By" rel="nofollow">Inverse Relationships.</a> (as mentioned below) 
  I want to lazy load behaviour with "LearnerProfile" while fetching "learner" from DB.
  Is this possible, if not, please provide some workaround.</p>
  
  <h2>LearnerProfile.java</h2>
  
  <pre><code>@OneToOne (fetch=FetchType.LAZY)
  @JoinColumn(name = "LEARNER_ID")
  private Learner learner ;
  </code></pre>
  
  <h2>Learner.java</h2>
  
  <pre><code>@OneToOne(mappedBy="learner", fetch=FetchType.LAZY)
  private LearnerProfile learnerProfile ;
  </code></pre>