-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add methods to DefaultFlushEntityEventListener for Hibernate Reactive #11475
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
base: 7.2
Are you sure you want to change the base?
Add methods to DefaultFlushEntityEventListener for Hibernate Reactive #11475
Conversation
|
Thanks for your pull request! This pull request does not follow the contribution rules. Could you have a look? ❌ All commit messages should start with a JIRA issue key matching pattern › This message was automatically generated. |
| } | ||
|
|
||
| // Used by Hibernate Reactive | ||
| protected void logIdentifiedAltered(EntityPersister persister, Object entryId, Object currentId) { |
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.
"log"?
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.
Hi @gavinking, right I really chose a bad method name :(
probably just IdentifiedAltered can work, what do you think?
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.
checkIdentifierUnchanged() or checkIdentifierUnmodified() ?
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 check has been done before the call to this method, what about throwIdentifiedAlteredException ?
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.
Sure, fine.
40c54ad to
3f3c39e
Compare
3f3c39e to
8bedd0c
Compare
[Please describe here what your change is about]
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.