Bug 133096 Mapping of ODA data type literal value to code value
The ODA dataSource extension point specifies an ODA scalar data type in its literal value. But most handling of an ODA data type in the ODA framework is done with its code value. The oda.util.manifest package should provide the conversion utility to map from an ODA literal value to its corresponding code value. Another issue is with the native data type code. If a native data type is unknown, a 0 value has been used to represent "unknown" value. The latest implementation in the ODA design-time framework should be consistent with the definition.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
if ( Math.abs( intValue - doubleValue ) < 0.0000001 )
					{
						value = Integer.valueOf( String.valueOf( intValue ) );
					}
					else
					{
						value = null;
					}
				}
				catch ( NumberFormatException e2 )
				{
					value = null;
				}
			}
		}
		return value;
	}
	
	/**
	 * Convert String without specified locale to java.util.Date
	 * Try to format the given String for JRE default Locale,
	 * if it fails, try to format the String for Locale.US 
	 * @param source
	 *            the String to be convert
	 * @param locate
	 * 			  the locate of the string
	 * @return result Date
	 */
	private static Date toDate( String source )
			throws BirtException