cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emre.yil...@htr.com.tr
Subject Re: Object migrates between DataDomains
Date Tue, 11 Apr 2006 13:50:06 GMT
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 <andrus@objectstyle.org>
Tarih: Monday, April 10, 2006 11:55
Konu: Re: Object migrates between DataDomains
Kime: cayenne-user@incubator.apache.org

> 
> On Apr 10, 2006, at 11:48 AM, emre.yilmaz@htr.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
> 
> 

Mime
View raw message