title: Update @Updatetimestamp without changeing data of entity
body: <p>A ChildEntity has a many-to-one relation to a ParentEntity</p>
  <p>The ParentEntity, has a:</p>
  <pre><code>@Version
  @UpdateTimestamp
  protected LocalDateTime modificationTime;
  </code></pre>
  <p>The requirement is that modificationTime of ParentEntity Row must be updated, when a ChildEntity is created or modified (in a @Transactional context) by <code>ChildRepository extends JPARepository</code></p>
  <p>The only way we currently see, is to create a method <code>updateModificationTime</code> and set it explicitly, wondering if there is a better way?</p>
  <p>How can we update the @UpdateTimestamp annotated modificationTime without changeing any data of the ParentEntity?</p>
  <p>github repo:
  <a href="https://github.com/daveyx/spring-playground/tree/main/210427-datatest" rel="nofollow noreferrer">https://github.com/daveyx/spring-playground/tree/main/210427-datatest</a></p>
  <p>testcase:
  <a href="https://github.com/daveyx/spring-playground/blob/main/210427-datatest/src/test/java/com/example/datatest/child/ChildServiceIntegrationTest.java" rel="nofollow noreferrer">https://github.com/daveyx/spring-playground/blob/main/210427-datatest/src/test/java/com/example/datatest/child/ChildServiceIntegrationTest.java</a></p>