Bug 199021 Error message pops up several times when click an invalid dataset
Description: There is a sqlserver datasource and dataset, remove the jtds driver to let the dataset invalid. Double click on the dataset, the error message will pop up serveral times. Build version:2.2.0.v20070807-0630 Steps to reproduce: 1. Create a sqlserver datasource and dataset. 2. Remove the jtds driver, and the dataset will be invalid. 3. Double click on the dataset. Expect result: Error message pops up once to indicate the problem. Actual result: Error message pops up serveral times.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/provider/JdbcMetaDataProvider.java
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.report.data.oda.jdbc.ui.JdbcPlugin;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.Column;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.Constants;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.DriverLoader;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.ExceptionHandler;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.Procedure;
import org.eclipse.birt.report.data.oda.jdbc.ui.util.ProcedureParameter;
import org.eclipse.datatools.connectivity.oda.design.DataSourceDesign;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.ui.PlatformUI;
/**
 * Class to Manage Jdbc Data Sources, has implementation of utility functions
 * such as getting meta data from a Jdbc Data Source
 */
public class JdbcMetaDataProvider implements IMetaDataProvider
{
	
	private Connection jdbcConnection = null;
	private String userName = null;
	private String url = null;
	private String driverClass = null;
	private String pass = null;
	private DatabaseMetaData metaData;
	private static Logger logger = Logger.getLogger( JdbcMetaDataProvider.class.getName( ) );
	
	public JdbcMetaDataProvider( Connection connection)
	{
		this.jdbcConnection = connection;