title: JPA Relationship Mapping Concept
body: <p>I have several questions on bidirectional mapping. </p>
  
  <p>I have these entities: </p>
  
  <ol>
  <li>Employee(1) - (1) Parking_Lot</li>
  <li>Employee(*) - (1) Department</li>
  <li><p>Employee(*) - (1) Project</p></li>
  <li><p>What is the source and target entity for the above relationship?</p></li>
  <li>What is the owner for <code>ManyToOne</code> relationship. I wonder the owner is
  on Many entity or One entity?</li>
  <li>Do <code>mappedBy</code> specify on owner side or inverse side?</li>
  </ol>
  
  <p>Please help. </p>
  
  <p>EDIT:</p>
  
  <p>I have the following table:
  <strong>Project</strong> - <strong>Proj_Client</strong> - <strong>Client</strong> (Many to Many relationship) and persist the project table but the client is not get persist. What wrong with it? </p>
  
  <p>Thanks.</p>