title: Nested objects have not been saved by Spring JpaRepository
body: <p>I have a Spring Roo application with GWT. On server-side I´ve got simple JpaRepository interfaces for all entities like:</p>
  
  <pre><code>@Repository
  public interface MyEntityRepository extends JpaSpecificationExecutor&lt;MyEntity&gt;, JpaRepository&lt;MyEntity, Long&gt; {
  }
  </code></pre>
  
  <p>There is a MyEntity class that has a One-To-One relationship to a MyOtherEntity class.
  When I call my entity-service persist method</p>
  
  <pre><code>public void saveMyEntity (MyEntity myEntity) {
      myEntityRepository.save(myEntity);
  }
  </code></pre>
  
  <p>only the myEntity object will be saved. All sub objects of MyEntity are ignored. The only way to save the myEntity object along with the myOtherEntity object is calling </p>
  
  <pre><code>    myOtherEntityRepository.save(myOtherEntity);
  </code></pre>
  
  <p>before the above code. So is there a more elegant way to automatically save sub objects with JpaRepository interface?</p>