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

HHH-18901 Do not enhance if AccessType default is PROPERTY #9586

Draft
wants to merge 1 commit into
base: 6.6
Choose a base branch
from

Conversation

scottmarlow
Copy link
Member

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

Trying change to not enhance entity classes that have accessType default of PROPERTY.

Comment on lines +532 to +534
if ( AccessType.PROPERTY == defaultAccessType) {
return true;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you're done yet, but just in case: this will short-circuit the strategy selection below (see the switch) and skip logging. You probably want something more involved than an early return?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely will need further changes for the reason you raise.

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.

2 participants