docs: private boolean isAllOrDirtyOptLocking() {
  		EntityMetamodel entityMetamodel = getEntityMetamodel();
  		return entityMetamodel.getOptimisticLockStyle() == OptimisticLockStyle.DIRTY
  				|| entityMetamodel.getOptimisticLockStyle() == OptimisticLockStyle.ALL;
  	}