Bug 198998 Errors and Faiures occur in Junit test org.eclipse.birt.data.tests and org.eclipse.birt.report.data.jdbc.tests in daily build 20070807
Errors and Faiures occur in Junit test org.eclipse.birt.data.tests and org.eclipse.birt.report.data.jdbc.tests in daily build 20070807. Please see the attachment for details.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/JDBCDriverManager.java
* Check whether the driver class name is deregistered
	 * 
	 * @param String className
	 * @return true if the driver class name is deregistered
	 */
	private boolean isDeregistered( String className )
	{
		return this.registeredDrivers.containsKey( className )
				&& registeredDrivers.get( className ).equals( DRIVER_DEREGISTERED );
	}
	
	private void loadAndRegisterDriver( String className ) 
		throws OdaException
	{
		if ( className == null || className.length() == 0)
			
			return;
		if ( isDeregistered( className ) )
		{
			throw new JDBCException( ResourceConstants.CANNOT_LOAD_DRIVER,
					null,
					className );
		}
		else if ( this.registeredDrivers.containsKey( className ) )
		{
			return;
		}
		if ( logger.isLoggable( Level.INFO ))
		{
			logger.info( "Loading JDBC driver class: " + className );