Bug 147834 Drill through multi-page report document will only show the first page when preview in HTML/PDF
Description: When target report document has multiple pages, drill through will only show the first page. Steps to reproduce: 1. New a report with multiple pages, preview it in web viewer to create report document 2. New another report, drill through to this report document 3. Preview in HTML/PDF, only the first page of target document shows up Notes: Preview in WebViewer will get correct result
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
/**
	 * uses to clear the data cach.
	 * 
	 * @param dataSet
	 *            the dataset handle
	 * @throws BirtException
	 */
	public void clearCache( DataSetHandle dataSet ) throws BirtException
	{
		DataSessionContext context = new DataSessionContext(
				DataSessionContext.MODE_DIRECT_PRESENTATION, dataSet
						.getModuleHandle( ), null );
		DataRequestSession requestSession = DataRequestSession
				.newSession( context );
		IModelAdapter modelAdaptor = requestSession.getModelAdaptor( );
		DataSourceHandle dataSource = dataSet.getDataSource( );
		IBaseDataSourceDesign sourceDesign = modelAdaptor
				.adaptDataSource( dataSource );
		IBaseDataSetDesign dataSetDesign = modelAdaptor.adaptDataSet( dataSet );
		requestSession.clearCache( sourceDesign, dataSetDesign );
	}
	/**
	 * @param maxRows
	 */
	public void setMaxRows( int maxRows )
	{
		if ( config != null )
		{
			config.setMaxRowsPerQuery( maxRows );
		}