DirtinessTracker usage for enhanced entities doesn't respect mutable types

Description

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.

Environment

None

Activity

Show:
Sanne Grinovero
November 13, 2020, 3:08 PM

Why “always dirty”? Could we not treat them as “potentially dirty”, then trigger the usual equality check delegated to the type?

Christian Beikov
November 13, 2020, 3:08 PM

That’s what I meant

Fixed

Assignee

Christian Beikov

Reporter

Christian Beikov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure