Originally reported on the Quarkus issue tracker (https://github.com/quarkusio/quarkus/issues/13234) this issue is a Hibernate enhancement issue. Properties with mutable types should always be considered potentially dirty which they are not currently. This leads to certain state not being flushed.
Why “always dirty”? Could we not treat them as “potentially dirty”, then trigger the usual equality check delegated to the type?
That’s what I meant