I just need to reorder the elements in a (previously saved) ordered collection ...
I tried just passing the redesigned setter collection: after the transaction, the collection disappeared.
Then I tried to clear () the existing collection and addAll () after that: clear () makes the persistent manager mark all elements as deleted. (But, obviously, I would like to be able to work with the elements of the collection in the transaction itself.)
(The collection is not part of the default selection group, so I tried this also with the group with the name selected in the selection plan. No luck.)
This should be the stupidest question, but I ran out of ideas and got stuck here for two days. I swear I'm googled .: (
source
share