Bug 197756 Data Set Row Limit
Tested with release 2.2 and 2.2.1S20070713 1) create a report 2) add data source & data set (JDBC or Sample Database) 3) Put data source to a table 4) Set Data Set Row Limit to to some value (e.g. 5) 5) preview ==> 5 rows are displayed 6) Set Data Set Row Limit to to some other value (e.g. 10) 7) preview ==> 5 (!!) rows are displayed and not 10 - you must restart eclipse, only then the new value takes effect
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import org.eclipse.birt.report.model.api.metadata.IPropertyDefn;
import org.eclipse.birt.report.model.elements.OdaDataSet;
import org.mozilla.javascript.Scriptable;
/**
 * An adapter class that creates data engine API interface objects from the
 * model.api objects for data set and data source definition.
 * 
 * The user of this adaptor can optionally provide an associated ExecutionContext
 * object and a Javascript scope. ExecutionContext is used to provide a context
 * for executing data source and data set event handlers. The Javascript scope
 * is used to evaluate data source and data set binding expressions. If a scope
 * is not provided, data source and data set bindings will not take effect.
 */
public class ModelDteApiAdapter
{
	private ExecutionContext context;
	private Scriptable jsScope;
	
	private DataRequestSession dteSession;
	/**
	 * @deprecated Construct an instance of this class directly
	 */
	public static ModelDteApiAdapter getInstance( )
	{
		return new ModelDteApiAdapter( );
	}
	/**
	 * @deprecated use createDataSourceDesign( dataSource )
	 */