[CDO] Exception when removing objects from a list, obtained with query [message #998697] |
Thu, 10 January 2013 09:24  |
Eclipse User |
|
|
|
Hello There,
I have a multi-values feature named 'listforA' which has a bunch of objects named A, which I retrieve from a CDO (SQL) query.
next, I do a ...getListForA().removeAll(List<A>) which throws this exception below.
So apparently this is not supported, what would be the appropriate use case to delete objects obtained from a query? Should I create a query which deletes instead?
thx Christophe
java.lang.UnsupportedOperationException
at org.eclipse.emf.internal.cdo.query.CDOQueryResultIteratorImpl$QueryResultList.contains(CDOQueryResultIteratorImpl.java:204)
at org.eclipse.emf.common.util.AbstractEList.getDuplicates(AbstractEList.java:1151)
at org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl.removeAll(DelegatingNotifyingListImpl.java:908)
at com.netxforge.netxstudio.data.importer.ResultProcessor.removeValues(ResultProcessor.java:187)
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03942 seconds