Can you do list.set(index, null) ? -Wes
On 12/27/07, mxc <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am sure this is a common scenario. I get a result list from a jpa query. I > wrap this in an abstract table model. I allow the user to delete entities > from the table by clicking a delete button on each row. In the back I delete > the entity from the database. I do not wish to refresh the entire collection > that is the core of the tale model but just want to remove the delete entity > and fire the appropriate table model change event. > > However running list.remove(object) results in the error: > > java.lang.UnsupportedOperationException: Result lists are read-only. > > Is there anyway to mark the list as modifiable? > > thanks > > -- > View this message in context: > http://www.nabble.com/How-to-remove-an-entity-from-a-result-list-%28error---result-list-is-read-only%29-tp14513989p14513989.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com
