Re: [CONF] Apache Cayenne: XML Mapping File (page edited)

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Dec 21 2007 - 16:25:21 EST

  • Next message: Terrence A. Pietrondi: "Re: [CONF] Apache Cayenne: XML Mapping File (page edited)"

    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



    This archive was generated by hypermail 2.0.0 : Fri Dec 21 2007 - 16:25:55 EST