Migrate LockOptions to direct parameters
ProprietaryMigrates deprecated LockOptions usage to direct parameters in method calls. As of JPA 3.2 and Hibernate 7, LockMode, Timeout, and PessimisticLockScope are passed directly to find(), refresh(), and lock() methods instead of being wrapped in a LockOptions object.
io. moderne. hibernate. update70. MigrateLockOptionsToDirectParametersmod run . --recipe= io. moderne. hibernate. update70. MigrateLockOptionsToDirectParametersInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.