Model Cloning
Model Cloning
- Subject: Model Cloning
- From: Andrew Lindesay <email@hidden>
- Date: Thu, 12 Jul 2007 10:18:59 +1200
Hello;
I'm doing;
1) fully-load model A
2) set the JDBC config for model A
3) re-load clone model into a new EOModel called B from A's URL
4) rename B's entities and the model with a suffix "RO".
5) make B's entities read-only
6) insert B into the default model group
This allows me to force some database queries to a separate server as
long as there is no "crossing-of-the-models". Has anybody else tried
something like this?
cheers.
___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz
_______________________________________________
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