Bug 191404 Connection is still successful after delete drivers[0703]
Description: Create a Sqlserver datasource and dataset, then delete the jtds driver. Click "Test Connection" is still successful, and the dataset still works. Build Version:2.2.0.v20070607-0630 Steps to reproduce: 1. Add a jtds driver, and create a Sqlserver connection and dataset. 2. Go to "Manage JDBC Drivers" dialog, and delete the driver. 3. Click "Test Connection", the connection is successful. 4. Click "Preview Results" in "Edit Data Set" dialog, it works. Expected Result: Delete driver will lose the connection.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/dialogs/JdbcDriverManagerDialog.java
private void sortDriver( final int columnIndex, final boolean asc )
	{
		driverViewer.setComparator( new ViewerComparator( new Comparator( ) {
			/*
			 * @see java.util.Comparator#compare(java.lang.Object,
			 *      java.lang.Object)
			 */
			public int compare( Object o1, Object o2 )
			{
				String source = (String) o1;
				String target = (String) o2;
				int result = 0;
				if ( columnIndex == 1 )
					result = this.compareStr( getDriverClassName( source ),
							getDriverClassName( target ) );
				else if ( columnIndex == 2 )
					result = this.compareStr( getDisplayName( source ),
							getDisplayName( target ) );
				else if ( columnIndex == 3 )
					result = this.compareStr( getUrlTemplate( source ),
							getUrlTemplate( target ) );
				if ( !asc )
					return result;
				else
					return result *= -1;
			}
			/**
			 * @param o1
			 * @param o2
			 * @return