title: JPA Auditing LastModifiedBy/LastModifiedDate are null when being accessed in the transaction method
body: <p>I have my auditing set up as shown below, and they work fine. The problem is when I want to access them within the transactional method before the update, the update id/date are always null and I'm not sure why.</p>
  
  <pre><code>@CreatedBy
  @Column(name = "CREATE_ID", updatable = false, nullable = false)
  private String createId;
  
  @LastModifiedBy
  @Column(name = "UPDATE_ID", nullable = false)
  private String updateId;
  
  @CreatedDate
  @Column(name = "CREATE_DATE", updatable = false, nullable = false)
  private Date createDate;
  
  @LastModifiedDate
  @Column(name = "UPDATE_DATE", nullable = false)
  private Date updateDate;
  </code></pre>
  
  <p>The create/update methods that are calling save.</p>
  
  <p>Note: <strong>BOTH of these work fine, creating/updating records in the database with the correct create/update audit values.</strong> The issue is that I cannot access update id/date within the update method and I'm not sure why/how to fix it.</p>
  
  <pre><code>@Override
  @Transactional
  public MyObj create(MyObj myObj) {
      MyObj createdMyObj = myObjRepo.save(myObj);
      System.out.println(createdMyObj.getCreateId()); // This works fine
      return createdMyObj;
  }
  
  @Override
  @Transactional
  public MyObj update(MyObj myObj) {
      MyObj updatedMyObj = myObjRepo.save(myObj);
      System.out.println(updatedMyObj.getUpdateId()); // This is null
      return updatedMyObj;
  }
  </code></pre>