You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** Removed `Session.LockRequest` -> use `LockOptions`
519
520
520
521
* Behavior
521
522
** Removed `org.hibernate.Session#save` in favor of `org.hibernate.Session#persist`
522
-
** Removed `org.hibernate.Session#saveOrUpdate` in favor `#persist` if the entity is transient or `#merge` if the entity is detached.
523
+
** Removed `org.hibernate.Session#saveOrUpdate` in favor `#persist` if the entity is transient or `#merge` if the entity is detached
523
524
** Removed `org.hibernate.Session#update` in favor of `org.hibernate.Session.merge`
524
525
** Removed `org.hibernate.annotations.CascadeType.SAVE_UPDATE` in favor of `org.hibernate.annotations.CascadeType.PERSIST` + `org.hibernate.annotations.CascadeType.MERGE`
525
526
** Removed `org.hibernate.Session#delete` in favor of `org.hibernate.Session#remove`
527
+
** Removed `org.hibernate.Session#load` in favor of `org.hibernate.Session#find`
526
528
** Removed `org.hibernate.annotations.CascadeType.DELETE` in favor of `org.hibernate.annotations.CascadeType#REMOVE`
527
529
** Removed `org.hibernate.Session#refresh(String entityName, Object object)` in favor of `org.hibernate.Session#refresh(Object object)`
528
530
** Removed `org.hibernate.Session#refresh(String entityName, Object object, LockOptions lockOptions)` in favor of `org.hibernate.Session#refresh(Object object, LockOptions lockOptions)`
@@ -548,7 +550,7 @@ We encourage migration to the use of the new JPA-standard operations.
0 commit comments