if (rowSetProps.maxRows != null)
{
rowSetProp.setPropertyValue("MaxRows", rowSetProps.maxRows);
}
final XConnectionTools tools = (XConnectionTools) UnoRuntime.queryInterface(XConnectionTools.class, connection);
fillOrderStatement(rowSetProps.command, rowSetProps.commandType, parameters, tools, rowSetProp);
final ParameterDefinition paramDef = createParameter(parameters, tools, rowSetProps, rowSet);
rowSetProperties.put(rowSetProps, rowSet);
parameterMap.put(rowSetProps, paramDef);