logger.debug("where field root entity alias [" + rootEntityAlias + "]");
if (operand instanceof HavingField.Operand) {
HavingField.Operand havingFieldOperand = (HavingField.Operand) operand;
IAggregationFunction function = havingFieldOperand.function;
operandElement = function.apply(rootEntityAlias + "." + queryName);
} else {
operandElement = rootEntityAlias + "." + queryName;
}
logger.debug("where element operand value [" + operandElement + "]");
} finally {