rsets.addFirst( resultSet );
	protected IResultSet doExecuteQuery( DteResultSet parentResult, IQueryDefinition query )	{		String queryID = (String) queryIDMap.get( query );		try		{			IQueryResults queryResults = null;			if ( parentResult != null )			{				queryResults = parentResult.getQueryResults( );			}			String resultSetID = null;			if ( queryResults == null )			{				resultSetID = getResultID( null, -1, queryID );			}			else			{				String pRsetId = queryResults.getID( );				long rowid = parentResult.getCurrentPosition( );				resultSetID = getResultID( pRsetId, rowid, queryID );			}			if ( resultSetID == null )			{				logger.log( Level.SEVERE, "Can't load the report query" );				return null;			}			queryResults = dteEngine.getQueryResults( resultSetID );			DteResultSet resultSet = null;			if ( parentResult == null )			{				// this is the root query				resultSet = new DteResultSet( this, context, queryResults );			}			else			{				// this is the nest query				resultSet = new DteResultSet( parentResult, queryResults );			}									rsets.addFirst( resultSet );			return resultSet;		}		catch ( BirtException be )		{			logger.log( Level.SEVERE, be.getMessage( ) );			context.addException( be );			return null;		}	}