• 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: Altering EOModel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Altering EOModel


  • Subject: Re: Altering EOModel
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 20 Jan 2009 20:31:40 +0100


Am 18.01.2009 um 17:44 schrieb Stamenkovic Florijan:

A question to the rest of the list: has anyone ever even tried doing this with WO? And I don't mean just fiddling with the in- memory model, but also saving the model, changing the DB schema on the fly etc...


One can do that, but you'd need to:

- not allow for mandatory columns, as they will kill all other active objects
- have a bitch of a time when running in multiple instances
- re-create all active OSCs, invalidate all objects
- never use EOUtilities.defaultModel()


The best way might be to disallow access, make your changes, store your model in a DB, shutdown all apps and restart.

All in all I'd agree that this is not really fun, in particular when you have more than one instance and a lot of users.

Cheers, Anjo
_______________________________________________
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


References: 
 >Altering EOModel (From: Stavros Panidis <email@hidden>)
 >Re: Altering EOModel (From: Stamenkovic Florijan <email@hidden>)

  • Prev by Date: webobjects installer crashing
  • Next by Date: Re: Altering EOModel
  • Previous by thread: Re: Altering EOModel
  • Next by thread: Re: Altering EOModel
  • Index(es):
    • Date
    • Thread