public void reset() {
   super.reset();
   getSession()
       .getDescriptor(Employee.class)
       .getCacheInvalidationPolicy()
       .setShouldUpdateReadTimeOnUpdate(initialUpdateFlag);
 }
  public void setup() {
    super.setup();
    initialUpdateFlag =
        getSession()
            .getDescriptor(Employee.class)
            .getCacheInvalidationPolicy()
            .shouldUpdateReadTimeOnUpdate();
    getSession()
        .getDescriptor(Employee.class)
        .getCacheInvalidationPolicy()
        .setShouldUpdateReadTimeOnUpdate(updateChangeFlag);

    getSession().readAllObjects(Employee.class);
  }