Bug 134013 <property name="cachedRowCount">200</property>
Since the cache poperty is in the XML, this is taken during deployment also. WHen i design i need only few rows (say 100 rows ) But when i deploy i need all the rows SInce <property name="cachedRowCount">200</property> is part of the XML file, the output/pdf shows only what is specified during design phase. The documentation shows, during deployment this setting will not be considered, but i found the other way- during design and deployment. Hari Nair
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
* @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
	 * 
	 * @return void
	 */
	public void setMaxRows( int maxRows )
	{
		if ( config != null )
		{
			config.setMaxRowsPerQuery( maxRows );
		}
	}
}