I'm guessing that the property that your calling getList() for is single valued. You can only call getList() on a property if the property has Property.isMany == true. In other words, there's no automatic conversion from a single valued property value to List.
Frank. "Christian Landbo Frederiksen" <[EMAIL PROTECTED]> wrote on 01/29/2007 03:24:42 PM: > Hi > > I just ran into a classcast exception when I tried to call getList on a > dataobject. > > I searched a bit for it and found this in the samples: > > PurchaseOrderControl.removeItem(int index) { > // TODO: this is not working due to > java.lang.ClassCastException: > // org.eclipse.emf.ecore.util.EcoreEList$Dynamic incompatible > with commonj.sdo.DataObject > // access a DataObject by the index and then remove it > > > Can anybody tell more about this? > > /Chr --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]