title: @DataJpaTest not updating property annotated with @Version
body: <p>I have an issue with one test checking that the entity with property version (annotated with <code>@Version</code>) is incremented after an update.</p>
  <ul>
  <li>If I use the annotation <code>@SpringBootTest</code> the version is incremented.</li>
  <li>If I use <code>@DataJpaTest</code>, the version is not incremented.</li>
  </ul>
  <p>Do you know how to configure the <code>@DataJpaTest</code> to make the incrementation work?</p>
  <p>Please find below the working test:</p>
  <pre><code>@SpringBootTest
  public class TestAuditing extends TestCrud&lt;AuditingEntity&gt; {
  
      ...
  
      @Test
      @Override
      void update() {
          Long version = entity.getVersion();
          super.update();
          assertEquals(++version, entity.getVersion());
      }
  }
  </code></pre>
  <p>And here is the not working test:</p>
  <pre><code>@ExtendWith(SpringExtension.class)
  @DataJpaTest
  public class TestAuditing extends TestCrud&lt;AuditingEntity&gt; {
      
      ...
  
      @Test
      @Override
      void update() {
          Long version = entity.getVersion();
          super.update();
          assertEquals(++version, entity.getVersion());
      }
  }
  </code></pre>
  <p>Here is the code of the TestCrud abstract class</p>
  <pre><code>public abstract class TestCrud&lt;E extends AbstractEntity&gt; {
  
      protected static AbstractEntity entity;
  
      ...
  
      @Test
      void update() {
          E updatedEntity = crudAdapter.update((E) entity);
          assertEquals(updatedEntity.getId(), entity.getId());
          entity = updatedEntity;
      }
      ...
  </code></pre>
  <p>Thanks in advance for your answer!</p>