Replace Session.buildLockRequest with LockOptions
ProprietaryMigrates Session.buildLockRequest(LockOptions.X) calls to use session.lock(entity, new LockOptions(LockMode.X)) in Hibernate 7.0.
io. moderne. hibernate. update70. ReplaceSessionLockRequestmod run . --recipe= io. moderne. hibernate. update70. ReplaceSessionLockRequestInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.