Re: Hollow object after fetch and move to new DataContext

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Apr 28 2010 - 03:51:32 EDT

  • Next message: Arnaud Garcia: "Re: different ObjectContext..."

    Hi Julius,

    How was it "shifted" to a new context? Maybe you can provide some
    sample code?

    Andrus

    On Apr 28, 2010, at 11:37 AM, Julius Spencer wrote:

    > Hi,
    >
    > I'm a new user of Cayenne and I have a problem with an object I'm
    > not expecting to be "hollow".
    >
    > I am using STABLE-3.0 and have fetched a DataObject then shifted it
    > to a new DataContext and then it seems to stay HOLLOW even after
    > querying a to-one relationship.
    >
    > Just wondering if anyone has come across this or maybe it's a common
    > mistake.
    >
    > Regards,
    > Julius.



    This archive was generated by hypermail 2.0.0 : Wed Apr 28 2010 - 03:52:06 EDT