title: How can I insert data into a table that has a composite primary key through JPA?
body: <p>User Table </p>
  
  <p>UserName pk
  fname
  lname</p>
  
  <p>GroupMaster</p>
  
  <p>GroupName pk
  UserName pk, fk</p>
  
  <p>I want to insert data in GroupMaster but my problem is it has composite primary key</p>
  
  <p>How can I insert data in table through entity manager object?</p>