Re: localObjects() and MODIFIED objects, cloning DataObjects

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jan 20 2005 - 14:42:07 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-263) cdbgen (DbGeneratorTask) must support classpath and classpathref"

    Makes sense. It's fine with me.

    Andrus

    >> On Jan 19, 2005, at 2:40 PM, Mike Kienenberger wrote:
    >> > Is there a reason why a MODIFIED object couldn't be copied into a
    >> new context?
    >> > I've never had the need to do it, but I don't see why it would be
    >> disallowed.
    >
    > Andrus Adamchik <andru..bjectstyle.org> wrote:
    >> I agree - current behavior (throwing an exception) is probably not the
    >> best solution... I am in favor of changing that... The question is -
    >> do we want to copy a changed object, or a committed version of it? To
    >> be on a safe side, I'd say committed (but maybe there are valid cases
    >> for copying the changes as well?)
    >
    > I would say that the modified values should be copied.
    > That would be the behavior end-users expect. It was the behavior that
    > Andre expected.
    >
    > -Mike



    This archive was generated by hypermail 2.0.0 : Thu Jan 20 2005 - 14:42:09 EST