Session.saveOrUpdate removed from kernel ORM API
What:
saveOrUpdate(Object) was removed from the Session interface and its SessionWrapper, SessionImpl, and RecordingSessionWrapper.
Why: Hibernate 7 drops the method and its event SPI, so removing it now keeps the upcoming upgrade branch clean.
Who this affects:
Any code calling saveOrUpdate on the kernel ORM Session is affected. Delete the call for entities already loaded in the session (dirty-check flush handles it), use session.save(entity) for transient entities, or entity = (T)session.merge(entity) for detached ones.