saveAs( "OdaDataSetConvertResultSetsTest_1_out.xml" );
save( );
	public void testToROMResultSetsWithColumnHints( ) throws Exception	{		// create oda set handle.		openDesign( "OdaDataSetConvertResultSetsTest.xml" ); //$NON-NLS-1$		OdaDataSetHandle setHandle = (OdaDataSetHandle) designHandle				.findDataSet( "myDataSet1" ); //$NON-NLS-1$		// get the latest data set design.		DataSetDesign setDesign = new ModelOdaAdapter( )				.createDataSetDesign( setHandle );		// oda data set design changed, update ROM values. still keep report		// parameter link.		ResultSets sets = setDesign.getResultSets( );		ResultSetDefinition setDefn = (ResultSetDefinition) sets				.getResultSetDefinitions( ).get( 0 );		updateResultSetDefinition1( setDefn );		new ModelOdaAdapter( )				.updateDataSetHandle( setDesign, setHandle, false );		saveAs( "OdaDataSetConvertResultSetsTest_out.xml" ); //$NON-NLS-1$		openDesign( "OdaDataSetConvertResultSetsTest_1.xml" ); //$NON-NLS-1$		setHandle = (OdaDataSetHandle) designHandle.findDataSet( "myDataSet1" ); //$NON-NLS-1$		// get the latest data set design.		setDesign = new ModelOdaAdapter( ).createDataSetDesign( setHandle );		// oda data set design changed, update ROM values.		sets = setDesign.getResultSets( );		setDefn = (ResultSetDefinition) sets.getResultSetDefinitions( ).get( 0 );		// oda data set design changed, update ROM values. still keep report		// parameter link.		updateResultSetDefinition1( setDefn );		new ModelOdaAdapter( )				.updateDataSetHandle( setDesign, setHandle, false );		saveAs( "OdaDataSetConvertResultSetsTest_1_out.xml" ); //$NON-NLS-1$		// the oda data set design is not changed. ROM values are changed.		// Should keep rom values.		openDesign( "OdaDataSetConvertResultSetsTest_1.xml" ); //$NON-NLS-1$		setHandle = (OdaDataSetHandle) designHandle.findDataSet( "myDataSet1" ); //$NON-NLS-1$		// get the latest data set design.		setDesign = new ModelOdaAdapter( ).createDataSetDesign( setHandle );		Iterator hints = setHandle.columnHintsIterator( );		Iterator columns = setHandle.resultSetIterator( );		updateResultSetColumnAndHint(				(OdaResultSetColumnHandle) columns.next( ),				(ColumnHintHandle) hints.next( ) );		new ModelOdaAdapter( )				.updateDataSetHandle( setDesign, setHandle, false );		saveAs( "OdaDataSetConvertResultSetsTest_2_out.xml" ); //$NON-NLS-1$	}