Bug 124444 Preview attached file in pdf will display nothing.
Description: Preview attached file in pdf will display nothing. Steps to reproduce: 1. Preview attached design file in pdf Expected result: Report content shows Actual result: Wait for 10 minutes but nothing showed at all
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/AbstractDataEngine.java
}
		}
		
		new ReportQueryBuilder( ).build( report, context );
		doPrepareQueryID( report, appContext );
	}
	abstract protected void doPrepareQueryID( Report report, Map appContext );
	public IResultSet execute( IBaseQueryDefinition query )
	{
		if ( query instanceof IQueryDefinition )
		{
			return doExecute( query );
		}
		else if ( query instanceof ISubqueryDefinition )
		{
			return getSubqueryResult( query );
		}
		return null;
	}
	abstract protected IResultSet doExecute( IBaseQueryDefinition query );
	protected IResultSet getParentResultSet( )
	{
		for ( int i = queryResultStack.size( ) - 1; i >= 0; i-- )
		{
			DteResultSet rs = (DteResultSet) queryResultStack.get( i );
			if ( rs.getQueryResults( ) != null )
				return rs;
		}
		return null;
	}