Replace Session.buildLockRequest with LockOptions

Proprietary

Migrates Session.buildLockRequest(LockOptions.X) calls to use session.lock(entity, new LockOptions(LockMode.X)) in Hibernate 7.0.

io.moderne.hibernate.update70.ReplaceSessionLockRequest
mod run . --recipe=io.moderne.hibernate.update70.ReplaceSessionLockRequest

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.