parameterValuesByName.put(param.name, param.value);
}
else if (item instanceof QueryExpression)
{
QueryExpression qe = (QueryExpression) item;
StatementText st = qe.toStatementText(false); // TODO use the same lock as the caller
statementText.append(st.toStatementString(mode));
if (st.parameterNames != null)
{
initParameters();
parameterNames.addAll(st.parameterNames);