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
if( javaClass == null )
		    odaType = Types.CHAR;		
		else if( javaClass == Integer.class )
		    odaType = Types.INTEGER;
		else if( javaClass == Double.class )
		    odaType = Types.DOUBLE;
		else if( javaClass == BigDecimal.class )
		    odaType = Types.DECIMAL;
		else if( javaClass == String.class )
		    odaType = Types.CHAR;
		else if( javaClass == Date.class )
		    odaType = Types.DATE;
		else if( javaClass == Time.class )
		    odaType = Types.TIME;
		else if( javaClass == Timestamp.class )
		    odaType = Types.TIMESTAMP;
		else if( javaClass == IBlob.class )
		    odaType = Types.BLOB;
		else if( javaClass == IClob.class )
		    odaType = Types.CLOB;
		
		if( sm_logger.isLoggable( Level.FINEST ) )
		    sm_logger.logp( Level.FINEST, sm_className, methodName, 
				"Converted from Java data type class {0} to ODA data type {1}.", 
				new Object[] { javaClass, new Integer( odaType ) } );
		return odaType;
	}
}