Bug 178476 Clear cache dosen't take effact[07]
Description: Clear cache dosen't take effact[07] Build number: 2.2.0.v20070321-0630 Steps to reproduce: 1, New a dataset 2, Set the Cache preference to: 20 rows 3, Drag the dataset into layout and preview the results 4, Go back to dataset, clear the cache and change the preference to 30 rows 5, Save the report and preview the report Expected result: After step5: 30rows of data in preview results Actual result: only 20 rows of data in preview results Error log:
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/impl/ModelOdaAdapter.java
* Updates a strucutre list with the corresponding property handle.
	 * 
	 * @param propHandle
	 *            the property handle
	 * @param structList
	 *            the structure list
	 * @throws SemanticException
	 *             if any strucutre has invalid value.
	 */
	private void updateROMResultSets( OdaDataSetHandle setHandle,
			List structList ) throws SemanticException
	{
		List columns = new ArrayList( );
		List hints = new ArrayList( );
		ResultSetColumnInfo.updateResultSetColumnList( structList, columns,
				hints );
		PropertyHandle propHandle = setHandle
				.getPropertyHandle( OdaDataSetHandle.RESULT_SET_PROP );
		propHandle.setValue( new ArrayList( ) );
		if ( !columns.isEmpty( ) )
		{
			for ( int i = 0; i < columns.size( ); i++ )
				propHandle.addItem( columns.get( i ) );
		}
		propHandle = setHandle
				.getPropertyHandle( OdaDataSetHandle.COLUMN_HINTS_PROP );
		propHandle.setValue( new ArrayList( ) );
		if ( !hints.isEmpty( ) )
		{
			for ( int i = 0; i < hints.size( ); i++ )