This is a regression of HHH-8354 Closed , if that code ever worked. There are no tests of the dirty tracking "in operation", just some tests of the enhanced bytecode.
I also did a usage search for org.hibernate.engine.spi.PersistentAttributeInterceptor and found that:
- there is no non-test implementations of this method, and
- no code ever tries to inject the interceptor into the enhanced entity.
Vlad Mihalcea Any additional details to add?