Re: localObject()

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Feb 08 2006 - 20:00:38 EST

  • Next message: Marek Wawrzyczny: "Re: Using Cayenne with a GUI Builder"

    I think you are using post-M10 version from CVS. I am actively
    working on 'localObject()' and its backend (graph and property
    packages) at the moment. Parts of it are now broken. Still getting
    there...

    > Ps Andrus, I will start to look into caching/paging on the weekend.

    Very cool! Feel free to ask questions via cayenne-devel.

    Andrus

    On Feb 8, 2006, at 7:54 PM, Marcin Skladaniec wrote:

    > Hi
    >
    > I'm using localObject() method to move an object from between
    > CayenneContext on client (from shared context to a new dedicated
    > context). What I found is, that the object is copied correctly on
    > client side, but not on server side. When I try to commit changes
    > on server side related DataContext is empty.
    > To be specific:
    > in ChildDiffLoader findObject() is returning null
    >
    > As a temporary workaround object we are re-fetching object in a new
    > context.
    >
    > I wanted to try to fix this method, but I'm not sure about it's
    > current state, as there are plenty todos and comments around
    > localObject() method, and some of them are quite obsolete.
    >
    > Cheers
    > Marcin
    >
    > Ps Andrus, I will start to look into caching/paging on the weekend.
    >



    This archive was generated by hypermail 2.0.0 : Wed Feb 08 2006 - 20:00:40 EST