Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: 5.6
Choose a base branch
from

Conversation

mgtriffid
Copy link

@mgtriffid mgtriffid commented Oct 17, 2020

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.

https://hibernate.atlassian.net/browse/HHH-14623

@mgtriffid mgtriffid changed the title HHH-14623 Skip audit non-insertable, non-updateable components HHH-14263 Skip audit non-insertable, non-updateable components Oct 17, 2020
Base automatically changed from master to main March 19, 2021 16:00
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Mar 19, 2021

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@mgtriffid mgtriffid changed the title HHH-14263 Skip audit non-insertable, non-updateable components [HHH-14263] Skip audit non-insertable, non-updateable components Mar 19, 2021
@gavinking gavinking changed the title [HHH-14263] Skip audit non-insertable, non-updateable components [Envers] [HHH-14263] Skip audit non-insertable, non-updateable components Nov 30, 2024
@gavinking gavinking changed the title [Envers] [HHH-14263] Skip audit non-insertable, non-updateable components [Envers] HHH-14263 Skip audit non-insertable, non-updateable components Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant