hibernate-orm
hibernate-orm copied to clipboard
[HHH-14263] Skip audit non-insertable, non-updateable components
This is hardly an optimal solution. And maybe straight up wrong. Ideally we should skip these synthetic properties that were created for join during audit here https://github.com/hibernate/hibernate-orm/blob/master/hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/MultiPropertyMapper.java#L114
However, for some reason propertyData for synthetic property created for join has isSynthetic == false
. And any attempts to drag that value with correct value of true
ended with strange errors way earlier, during metadata generation.
Thanks for your pull request!
This pull request does not follow the contribution rules. Could you have a look?
❌ All JIRA issues addressed by commits should be mentioned in the PR title or body ↳ Issues not mentioned: [HHH-14623]
› This message was automatically generated.