Bug 154000 Enrichment of ODA consumer helper
Provide additional services in the oda.consumer component to include more common behavior that an ODA consumer application would need. For example, to handle different capabilities and behavior of individual ODA drivers.
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;
	}
}