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
* @param password      the login password
     * @return  true if the the specified properties are valid to obtain a connection;
     *          false otherwise
     * @throws OdaException 
     */
    public boolean testConnection( String driverClassName,
            String connectionString, String jndiNameUrl,
            String userId, String password )
        throws OdaException
    {		
		boolean canConnect = false;
		try
		{
			
			if ( getDriverConnectionFactory( driverClassName ) != null )
			{
				tryCreateConnection( driverClassName, connectionString, userId, password);
				return true;
			}
            
            
            
            
            if ( jndiNameUrl != null )
            {
                Connection jndiDSConnection = 
                    getJndiDSConnection( driverClassName, jndiNameUrl, 
                            addUserAuthenticationProperties( null, userId, password ) );            
                if ( jndiDSConnection != null )      
                {