hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

[HHH-14263] Skip audit non-insertable, non-updateable components

Open mgtriffid opened this issue 4 years ago • 1 comments

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.

mgtriffid avatar Oct 17 '20 19:10 mgtriffid

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.