Bug 156324 Selectively broadcast event for older library
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSetState.java
{
		assert oldColumn != null;
		OdaResultSetColumn newColumn = StructureFactory
				.createOdaResultSetColumn( );
		newColumn.setColumnName( oldColumn.getColumnName( ) );
		newColumn.setDataType( oldColumn.getDataType( ) );
		newColumn.setNativeDataType( oldColumn.getNativeDataType( ) );
		
		newColumn.setNativeName( oldColumn.getColumnName( ) );
		newColumn.setPosition( oldColumn.getPosition( ) );
		return newColumn;
	}
	/**
	 * Updates the native name in the oda result set columns
	 * 
	 * @param resultSets
	 *            a list containing ODA result set columns
	 */
	private static void updateOdaResultSetColumn( List resultSets )
	{
		if ( resultSets == null )
			return;
		for ( int i = 0; i < resultSets.size( ); i++ )
		{
			OdaResultSetColumn newColumn = (OdaResultSetColumn) resultSets
					.get( i );
			newColumn.setNativeName( newColumn.getColumnName( ) );
		}
	}
}