It looks like in the latest Hibernate there is some fix in the persistent context where provided entity is updated by the values from DB. * Fix failing tests * Migrate affected test classes to JUnit 5 **Cherry-pick to `6.1.x`** # Conflicts: # build.gradle