setPessimisticLock

abstract fun <E : Any> setPessimisticLock(entityType: KClass<E>, lock: Boolean = true)