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
}
		
		return factory;
	}
	
	private void loadDriverExtensions()
	{
		if ( driverExtensions != null )
			
			return;
		
		
		driverExtensions = new HashMap();
		IExtensionRegistry extReg = Platform.getExtensionRegistry();
		/* 
		 * getConfigurationElementsFor is not working for server Platform. 
		 * I have to work around this by walking the extension list
		IConfigurationElement[] configElems = 
			extReg.getConfigurationElementsFor( OdaJdbcDriver.Constants.DRIVER_INFO_EXTENSION );
		*/
		IExtensionPoint extPoint = 
			extReg.getExtensionPoint( OdaJdbcDriver.Constants.DRIVER_INFO_EXTENSION );
		
		if ( extPoint == null )
			return;
		
		IExtension[] exts = extPoint.getExtensions();
		if ( exts == null )
			return;