Bug 208512 Classes in package org.eclipse.birt.data.engine.odaconsumer have multithreads issues
Classes in package org.eclipse.birt.data.engine.odaconsumer are not thread-safe.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/ConnectionManager.java
* @throws DataException	if data source error occurs.
	 */
	public int getMaxConnections( String driverName ) throws DataException
	{
		final String methodName = "getMaxConnections"; 
		getLogger().entering( sm_className, methodName, driverName );
		int maxConnections = 0;  	
		try
		{
			IDriver driverHelper = 
				DriverManager.getInstance().getDriverHelper( driverName );
			if ( driverHelper != null )
			    maxConnections = driverHelper.getMaxConnections();
		}
		catch( OdaException ex )
		{
			getLogger().logp( Level.WARNING, sm_className, methodName, 
							"Cannot get max connections.", ex ); 
			maxConnections = 0;
		}
		catch( UnsupportedOperationException ex )
		{
			getLogger().logp( Level.INFO, sm_className, methodName, 
							"Cannot get max connections.", ex ); 
			maxConnections = 0;
		}
		getLogger().exiting( sm_className, methodName, maxConnections );			
		return maxConnections;
	}
}