title: How to manage a one to many entity using JPA and Spring Data Rest
body: <p>This question is probably related to this SO Link "<a href="https://stackoverflow.com/questions/25311978/posting-a-onetomany-sub-resource-association-in-spring-data-rest">POSTing a @OneToMany sub-resource association in Spring Data REST</a>" </p>
  
  <p>I would like to understand how to do "Post" has many "Comments" idea using a single PostRepository that is exposed using SDR.</p>
  
  <p>How will i add more comments to the existing posts? </p>
  
  <p>The question is when i do not have a CommentRepository, i will not have any "Location url" to send to the Request.  </p>
  
  <p>In this case how should i send the new comment or modify an existing comment?
  Note: CURL command or HAL Browser usage for performing the same will be useful to understand how it works</p>