Bug 167384 Errors show up when add a Stored Procedure data set[0703]
Description: Errors show up when add a Stored Procedure data set[0703] Build number: 2.1.2.v20061211-0710 Steps to reproduce: 1. New a JDBC data source: Driver:net.sourceforge.jtds.jdbc.Driver (v0.9) URL:jdbc:jtds:sqlserver://spmdb/gui User:sa, Password:sa 2. New a "SQL Stored Procedure Query" data set, {call dbo.counterInT1(?)}, edit data set parameter, direction:output, save. Expected result: No errors. Actual result: Errors show up. Error log: In Problems View: The result set of data set "ODA Data Set("Data Set")" must have at least one result set column.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/DataSetResultSetValidator.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.api.validators;
import java.util.ArrayList;
import java.util.Collections;