-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-1661 throw when merge() applied to a definitely-removed instance #5481
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
389d873 to
6e4e961
Compare
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
Outdated
Show resolved
Hide resolved
6e4e961 to
eeca644
Compare
|
Some conflicts materialized - sorry :) @jrenaat could you rebase it? |
|
I have to adapt the PR a bit after the discussion today with Steve. Do not merge yet please, I'll take care of the rest. |
gavinking
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.
I think this is on the right track, but as per my comment, I don't think it's quite perfect.
Also please see what I wrote here: https://hibernate.atlassian.net/browse/HHH-1661?focusedCommentId=115352
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
Outdated
Show resolved
Hide resolved
eeca644 to
991a259
Compare
|
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. |
|
This is now ready to go. However, this is a breaking change, and I wonder if we should be targeting H7? |
991a259 to
d1c49bb
Compare
Signed-off-by: Gavin King <gavin@hibernate.org>
7528d62 to
773c092
Compare
773c092 to
ab0bc7b
Compare
|
This is good with the latest changes from @beikov. I've squashed everything down to one commit. |
https://hibernate.atlassian.net/browse/HHH-1661