Bug 128495 Provides BIRT Adapter of DTP Oda Design objects to/from ROM ODA Data Handles
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/DataTypeUtil.java
{
	
	private static String sm_className = DataTypeUtil.class.getName();
	private static String sm_loggerName = ConnectionManager.sm_packageName;
	private static LogHelper sm_logger = LogHelper.getInstance( sm_loggerName );
	private DataTypeUtil()
	{
		
	}
	/**
	 * Converts the ODA data type into the corresponding Java class. <br><br>
	 * <b>ODA Data Type -> Java Class</b><br>
	 * <i>Integer -> java.lang.Integer<br>
	 * Double -> java.lang.Double<br>
	 * Character -> java.lang.String<br>
	 * Decimal -> java.math.BigDecimal<br>
	 * Date -> java.util.Date<br>
	 * Time -> java.sql.Time<br>
	 * Timestamp -> java.sql.Timestamp<br>
	 * Blob -> org.eclipse.datatools.connectivity.oda.IBlob<br>
	 * Clob -> org.eclipse.datatools.connectivity.oda.IClob<br></i>
	 * @param odaDataType	the ODA data type.
	 * @return	the Java class that corresponds with the ODA data type.
	 * @throws IllegalArgumentException	if the ODA data type is not a supported type.
	 */
	public static Class toTypeClass( int odaDataType )
	{
		final String methodName = "toTypeClass";		
		if( odaDataType != Types.INTEGER &&