title: Mapping JSON object to Hibernate entity
body: <p>I'm going to start a project of a REST application managed with Spring and with Hibernate for my model.</p>
  
  <p>I know that Spring allows you to get Java object from the HTTP Request (with <code>@Consumes(JSON)</code> annotation). Is there any conflict if this Java object is also a Hibernate entities? And is nested object working (like <code>@ManyToOne</code> relation)?</p>