Bug 151788 Provide additional ODA runtime hints to the ODA consumer
Some ODA runtime drivers are not able to obtain sufficient metadata on its parameters and result set column. Such metadata is thus needed to be collected at design time, for use by the BIRT ODA consumer. For example, the native data type of a parameter and column is often needed, but is not currently available to the odaconsumer in the Data Engine API runtime hints. This enhancement involves adding the native data type to the Data Engine API, and passing through its value from the ROM Model in report design to the ODA consumer.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/DriverManager.java
void setDriverLogConfiguration( String dataSourceElementId )
	{
		String methodName = "setDriverLogConfiguration";
		if( sm_logger.isLoggingEnterExitLevel() )
		    sm_logger.entering( sm_className, methodName, 
		        				new Object[] { dataSourceElementId } );
	    assert( dataSourceElementId != null );
	    
		Driver driver = getDriver( dataSourceElementId );
		assert( driver != null );
        driver.setLogConfiguration();
		sm_logger.exiting( sm_className, methodName );
	}
	
	/**
	 * Returns the default ODA type code mapped to the native type code for the 
	 * specified driver and data set type.
	 * @param dataSourceElementId	the name of the driver.
	 * @param dataSetType	the type of the data set.
	 * @param nativeType	the native type code.
	 * @return	the ODA type code.
	 */
	int getNativeToOdaMapping( String dataSourceElementId, 
							   String dataSetType, 
							   int nativeType ) throws DataException
	{
		String methodName = "getNativeToOdaMapping";
		if( sm_logger.isLoggingEnterExitLevel() )
		    sm_logger.entering( sm_className, methodName, 
							new Object[] { dataSourceElementId, dataSetType, new Integer( nativeType ) } );