Re: Objects marked as modified with no changes?

From: Mike Kienenberger (mkienen..mail.com)
Date: Fri Apr 14 2006 - 17:28:46 EDT

  • Next message: Mike Kienenberger: "Re: Objects marked as modified with no changes?"

    On 4/14/06, Mike Kienenberger <mkienen..mail.com> wrote:
    > I'm going to try reverting back to M11.

    I've hit this with M11, M10, and M9. M8 is when the hsqldb switchover
    occurred, so it's too much of a pain to test earlier versions right
    now.

    Turns out that JSF is automatically resetting DataObject properties
    back to the same value they had before. Now I'm pretty sure I wasn't
    seeing this behavior in older versions of Cayenne. I'll need to give
    the M5 version a try again when I get a chance to verify.

    A workaround has been to add code in my BaseDataObject class to check
    for the old value equaling the new value in writeProperty(), and if
    so, do nothing.



    This archive was generated by hypermail 2.0.0 : Fri Apr 14 2006 - 17:29:09 EDT