Bug 182656 The result is incorrect when a level has two parents[07][1101]
Description: The result is incorrect when a level has two parents[07][1101] Build number: 2.2.0.v20070417-0630 Steps to reproduce: -If the bottom level has two parents , we will considered that a invalid fact table. But now the fact table can get the result, and the result is incorrect.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
String key = levelIt.next( ).toString( );
			for ( int i = 0; i < rm.getColumnCount( ); i++ )
			{
				if ( key.equals( rm.getColumnName( i + 1 ) ) )
				{
					ColumnMeta value = (ColumnMeta) levelNameColumnNamePair.get( key );
					value.setDataType( rm.getColumnType( i + 1 ) );
				}
			}
		}
		this.metadata = new ResultMeta( resultMetaList );
	}
	/**
	 * 
	 * @param query
	 * @param resultMetaList
	 * @param levelNameColumnNamePair
	 * @param hierHandle
	 */
	private void prepareLevels( QueryDefinition query, List resultMetaList,
			Map levelNameColumnNamePair, TabularHierarchyHandle hierHandle )
	{
		
		List levels = hierHandle.getContents( TabularHierarchyHandle.LEVELS_PROP );
		for ( int j = 0; j < levels.size( ); j++ )
		{
			TabularLevelHandle level = (TabularLevelHandle) levels.get( j );
			ColumnMeta temp = new ColumnMeta( level.getName( ) );
			resultMetaList.add( temp );
			levelNameColumnNamePair.put( level.getColumnName( ), temp );