-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-18675. Ignore generic, synthetic property in JPA-model #9029
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
Conversation
|
Thanks for your pull request! This pull request appears to follow the contribution rules. › This message was automatically generated. |
45c1220 to
f8c46e2
Compare
…estcase without generics.
…o attribute for the jpa model.
f8c46e2 to
bec085a
Compare
beikov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good mostly, but please respect our code style.
hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
Outdated
Show resolved
Hide resolved
|
@beikov Thank you, I have changed your suggestions. |
|
Yeah, please create a PR against the 6.6 branch. Please note that our license headers are slightly different on that branch though. |
Hibernate should not map synthetic properties. However by copying the synthetic property the synthetic aspect is not copied. To circumvent this create a SyntheticProperty on copying. And ignore the property in the jpa-model.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-18675