Using build-time bytecode enhancement with lazy initialization and dirty tracking.
Using a bi-directional @OneToOne(fetch = LAZY). The problem occurs with and without @LazyToOne(NO_PROXY) on the parent.
When hibernate.bytecode.allow_enhancement_as_proxy is true:
previousState contains null values at AbstractEntityPersister.resolveDirtyAttributeIndexes, producing NPE:
When hibernate.bytecode.allow_enhancement_as_proxy is off it does not happen.
Is a reproducible example absolutely necessary in this case?
Regards
Seems related to HHH-14329
I confirm that fixes this for us
Thanks a lot!
I confirm it fixes the bug for us too, thanks!
hi all, version 5.4.26.Final is being sent to all mirrors. You should be able to upgrade soon.
awesome Sanne, thanks a lot!