// Use set to prevent the parameter to be set multiple times.
Set namesSet = new HashSet();
for (Iterator iter = parameterNames.iterator(); iter.hasNext();) {
String parameterName = (String)iter.next();
if (namesSet.add(parameterName)) {
JRValueParameter parameter = getValueParameter(parameterName);
String ejbParamName = getEjbqlParameterName(parameterName);
Object paramValue = parameter.getValue();
if (log.isDebugEnabled())
{
log.debug("Parameter " + ejbParamName + ": " + paramValue);
}