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/util/JdbcToolKit.java
* Found drivers in the Jar file List
	  * @param file
	  * @return a List of JDBCDriverInformation
	  */
	public static void getJdbcDriverFromFile( List fileList )
	{
		if ( !failLoadFileList.isEmpty( ) )
		{
			fileList.addAll( failLoadFileList );
		}
		URLClassLoader urlClassLoader = createClassLoader( fileList );
		jdbcDriverInfos.addAll( getJDBCDriverInfoList( fileList, urlClassLoader ) );
	}
	/**
	 * Returns a List jdbc Drivers. The Drivers are searched from predefined
	 * directories in the DTE plug-in. Currently it is expected that the jdbc
	 * drivers are in the "drivers" directory of the DTE oda.jdbc plug-in.
	 * @param driverName
	 * @return
	 */
	public static List getJdbcDriversFromODADir( String driverName )
	{
		if ( jdbcDriverInfos != null )
		{
			
			if ( !driverNameMap.containsValue( jdbcDriverInfos.get( 0 ) ) )
				jdbcDriverInfos.remove( 0 );
			if ( JdbcDriverManagerDialog.needResetPreferences( ) )
			{
				resetPreferences( );