changed non-updatable attributes mark enhanced entity dirty
Description
A change to a field (marked with insertable = false) marks an entity dirty when using bytecode enhancement, but not otherwise. The attached test case (run with "mvn test") produces (with enhancement enabled):
It produces the expected result without enhancement:
Attachments
1
Activity
Show:
Vlad MihalceaOctober 31, 2017 at 11:20 AM
Applied PR upstream.
Luis BarreiroOctober 25, 2017 at 7:01 PM
I changed the issue title, as the issue here is not if an attribute is 'insertable' but rather if it's 'updatable' (that's when dirty tracking kicks in)
A change to a field (marked with insertable = false) marks an entity dirty when using bytecode enhancement, but not otherwise.
The attached test case (run with "mvn test") produces (with enhancement enabled):
It produces the expected result without enhancement: