DteResultSet parentResult = (DteResultSet) getResultSet( );
	protected IResultSet doExecuteQuery( IBaseQueryDefinition query )	{		assert query instanceof IQueryDefinition;		String queryID = (String) queryIDMap.get( query );		try		{			IQueryResults queryResults = null;			DteResultSet parentResult = (DteResultSet) getResultSet( );			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 = new DteResultSet( queryResults.getID( ),					queryResults.getResultIterator( ), this, context );			rsets.addFirst( resultSet );			return resultSet;		}		catch ( BirtException be )		{			logger.log( Level.SEVERE, be.getMessage( ) );			context.addException( be );			return null;		}	}