Class LockOptionsHelper

java.lang.Object
org.hibernate.internal.LockOptionsHelper

public final class LockOptionsHelper extends Object
  • Method Details

    • applyPropertiesToLockOptions

      public static void applyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptions)
      Applies configuration properties on a LockOptions instance, passed as a supplier so to make it possible to skip allocating the LockOptions instance if there's nothing to set.
      Parameters:
      props - The configuration properties
      lockOptions - The reference to the lock to modify