• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JavaClient offline storage / replication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaClient offline storage / replication


  • Subject: Re: JavaClient offline storage / replication
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 15 Apr 2009 15:55:38 -0400

On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill <email@hidden > wrote:
Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over.


How would I get started with that?

Can I use the same model? Same EO classes? Conjecture is ok.
I am not sure and don't have the time to sit down and play with it. You would need to create a new EOModelGroup, load your models into it, change their connection dictionaries and then use that model group to create new EOEditingContexts with. Beware of any EOF method named default* if you do this. PracticalWebObjects has code for copying graphs of EOs. I don't know if it would work in this situation or not. You should be able to use the same classes.
for the record, this smells of "terrible idea" ...

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: JavaClient offline storage / replication
      • From: John Huss <email@hidden>
    • Re: JavaClient offline storage / replication
      • From: Chuck Hill <email@hidden>
References: 
 >JavaClient offline storage / replication (From: John Huss <email@hidden>)
 >Re: JavaClient offline storage / replication (From: Stamenkovic Florijan <email@hidden>)
 >Re: JavaClient offline storage / replication (From: David Avendasora <email@hidden>)
 >Re: JavaClient offline storage / replication (From: John Huss <email@hidden>)
 >Re: JavaClient offline storage / replication (From: Chuck Hill <email@hidden>)
 >Re: JavaClient offline storage / replication (From: Guido Neitzer <email@hidden>)
 >Re: JavaClient offline storage / replication (From: John Huss <email@hidden>)
 >Re: JavaClient offline storage / replication (From: Chuck Hill <email@hidden>)
 >Re: JavaClient offline storage / replication (From: John Huss <email@hidden>)
 >Re: JavaClient offline storage / replication (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: JavaClient offline storage / replication
  • Next by Date: Re: JavaClient offline storage / replication
  • Previous by thread: Re: JavaClient offline storage / replication
  • Next by thread: Re: JavaClient offline storage / replication
  • Index(es):
    • Date
    • Thread