On Dec 20, 2007, at 11:50 AM, Aristedes Maniatis wrote:
And the other one:
http://cwiki.apache.org/confluence/pages/diffpages.action?pageId=9806&originalId=72976
which I don't believe is good advice to give in a multi-threaded
environment,
yeah..
and is changing the objectID even sensible in Cayenne?
I'd have to test it to say for sure, but I think it actually should
work, as Cayenne checks for changed ID's at the end of the commit
cycle and re-registers objects. Still the right way would have been
ObjectId.getReplacementIdMap().put(...).
I'll clean up the wiki.
Andrus