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
/**
	 * Implementation of getConnection() methods. Gets connection from either java.sql.DriverManager, 
	 * or from IConnectionFactory defined in the extension
	 */    
    private synchronized Connection doConnect( String driverClass, String url, 
            String jndiNameUrl,
            Properties connectionProperties ) throws SQLException, OdaException
    {
		assert ( url != null );
		IConnectionFactory factory = getDriverConnectionFactory (driverClass);
		if ( factory != null )
		{
			
			if ( logger.isLoggable( Level.FINER ))
				logger.finer( "Calling IConnectionFactory.getConnection. driverClass=" + driverClass + 
						", url=" + url ); 
			return factory.getConnection( driverClass, url, connectionProperties );
		}
        
        
        
        
        Connection jndiDSConnection = 
            getJndiDSConnection( driverClass, jndiNameUrl, connectionProperties );
        
        if ( jndiDSConnection != null )      
            return jndiDSConnection;