Re: Object migrates between DataDomains

From: emre.yilma..tr.com.tr
Date: Tue Apr 11 2006 - 09:50:06 EDT

  • Next message: Mike Kienenberger: "Re: Some parts of FK are missing in snapshot, join:"

    Hi,

    Thank you for help. I make the changes as you say but I observe the DataContext.localObject(..) not set the relations (forign key id's).Can you help me for migrating
    objects with its relations through DataDomains.

    ----- Orjinal Mesaj -----
    Kimden: Andrus Adamchik <andru..bjectstyle.org>
    Tarih: Monday, April 10, 2006 11:55
    Konu: Re: Object migrates between DataDomains
    Kime: cayenne-use..ncubator.apache.org

    >
    > On Apr 10, 2006, at 11:48 AM, emre.yilma..tr.com.tr wrote:
    >
    > > Hi,
    > >
    > > Is there a easy way to migrate created objects from one
    > DataDomain
    > > to other DataDomain.
    > >
    > > Thank you...
    >
    >
    > Technically DataObject belongs to a DataContext, so we should be
    > speaking about moving objects between DataContexts (that in turn
    > can
    > belong to different DataDomains). This is done with
    > DataContext.localObject(..)
    >
    > http://objectstyle.org/confluence/display/CAYDOC/Moving+Objects
    > +Between+Contexts
    >
    > Of course object mappings have to be compatible in both domains
    > involved.
    >
    > Andrus
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 11 2006 - 09:50:03 EDT