-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
migration guide structure #9866
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 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. |
migration-guide.adoc
Outdated
| * Removed `MetadataContributor` -> `AdditionalMappingContributor` | ||
| * Removed `EmptyInterceptor` -> implement `org.hibernate.Interceptor` directly | ||
| * Removed `Session.LockRequest` -> use `LockOptions` | ||
| * See also, |
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.
| * See also, |
👀 👀 👀 👀 I'm looking buuut ...
migration-guide.adoc
Outdated
| ** Removed `Session.save` in favor of `Session.persist` | ||
| ** Removed `Session.saveOrUpdate` in favor `persist` if the entity is transient or `merge` if the entity is detached | ||
| ** Removed `Session.update` in favor of `Session.merge` | ||
| ** Removed `org.hibernate.annotations.CascadeType.SAVE_UPDATE` in favor of `org.hibernate.annotations.CascadeType.PERSIST` + `org.hibernate.annotations.CascadeType.MERGE` |
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.
| ** Removed `org.hibernate.annotations.CascadeType.SAVE_UPDATE` in favor of `org.hibernate.annotations.CascadeType.PERSIST` + `org.hibernate.annotations.CascadeType.MERGE` | |
| ** Removed `org.hibernate.annotations.CascadeType.SAVE_UPDATE` in favor of `org.hibernate.annotations.CascadeType.PERSIST` and `org.hibernate.annotations.CascadeType.MERGE` |
with + it looks like the formatting got broken, so maybe use words instead?
|
Thanks for looking! I'm more thinking that Removals section really needs a big overhaul. |
63687e6 to
9b3ea72
Compare
e3194e2 to
0b6f76c
Compare
|
Applied this manually. |
Just some preliminary work. Really not happy with the
Removalssection, but need to give that some more thought.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.