Re: Altering EOModel
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