// Get old parameters as they may have expressions set on them - collect
// those expressions to copy later into the resolved parameters
List<SPParameter> oldParams = storedProcedureCommand.getParameters();
boolean namedParameters = storedProcedureCommand.displayNamedParameters();
// If parameter count is zero, then for the purposes of this method treat that
// as if named parameters were used. Even though the StoredProcedure was not
// parsed that way, the user may have entered no parameters with the intention
// of relying on all default values of all optional parameters.