Bug 142675 [Regression]Query change is not saved without "Preview Results"
Steps to reproduce: 1.New a sample data source and a data set with table "CUSTOMERS" 2.Edit the data set, change table to "ORDERS", click "OK" Expected result: Query text is changed Actual result: Changed query is not saved unless click "Preview Results" before click "OK"
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ModelOdaAdapter.java
* 
	 * @param sourceHandle
	 *            the ODA DataSource.
	 * @return the oda DesignerState object.
	 */
	public DesignerState newOdaDesignerState( OdaDataSourceHandle sourceHandle )
	{
		OdaDesignerStateHandle designerState = sourceHandle.getDesignerState( );
		return DesignerStateAdapter.createOdaDesignState( designerState );
	}
	/**
	 * Creates a ROM DesignerState object with the given ODA DataSet design.
	 * 
	 * @param designerState
	 *            the ODA designer state.
	 * @param sourceHandle
	 *            the ODA DataSource.
	 * @throws SemanticException
	 *             if ROM Designer state value is locked.
	 */
	public void updateROMDesignerState( DesignerState designerState,
			OdaDataSourceHandle sourceHandle ) throws SemanticException
	{
		if ( designerState == null || sourceHandle == null )
			return;
		DesignerStateAdapter.updateROMDesignerState( designerState,
				sourceHandle );
	}
}