Bug 416703 Mongodb : Display correctly the Number data type
data/org.eclipse.birt.data.oda.mongodb/src/org/eclipse/birt/data/oda/mongodb/impl/MDbResultSet.java
catch( IllegalArgumentException ex )
            {
                throw new OdaException( ex );
            }
        }
        if( value instanceof java.util.Date )   
        {
            java.util.Date utilDateValue = (java.util.Date)value;
            if( valueDataType == Date.class ) 
                return convertToSqlDate( utilDateValue );
            if( valueDataType == Timestamp.class )
                return new Timestamp( utilDateValue.getTime() );
        }
        
        return value;   
    }
    private static void logFetchedFirstElementFromArray( String columnName, int arraySize )
    {
        
        if( arraySize > 1 && getLogger().isLoggable( Level.FINER ) )
            getLogger().finer( Messages.bind( "Fetching only the first value out of {0} for the field {1}.",  
                    Integer.valueOf( arraySize ), columnName ) );
    }
    private static Logger getLogger()
    {
        return sm_logger;
    }
  
}