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

Re: Model Cloning


  • Subject: Re: Model Cloning
  • From: Susanne Schneider <email@hidden>
  • Date: Thu, 12 Jul 2007 11:12:43 +0200

Hi Andrew,

we are hassling with models here a lot, but with a mix of the procedure you discribed and the one of Chuck. Instead of reloading model B we are copying model A to a new model B with renaming the entities while copying. For normal work both models are put into the default model group. For rare occasions we need real duplicates (same entity names) to a different database scheme and then put the duplicate models into a separate model group.

Were you just curious or do you have a concrete problem with this?

Regards,
Susanne


Message: 3
Date: Thu, 12 Jul 2007 10:18:59 +1200
From: Andrew Lindesay <email@hidden>
Subject: Model Cloning
To: "WebObjects (Group)" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

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



--
Susanne Schneider
Coordinator secuSuite Development

iAS interActive Systems GmbH
Dieffenbachstraße 33 c, D-10967 Berlin

fon    +49(0)30 69 00 42 - 05
fax    +49(0)30 69 00 42 - 10
mail   email@hidden
web    http://www.interActive-Systems.de

----------------------------------------------------
Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B
----------------------------------------------------
_______________________________________________
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: Model Cloning
      • From: Andrew Lindesay <email@hidden>
  • Prev by Date: Re: EOAndQualifier order
  • Next by Date: Re: EOAndQualifier order
  • Previous by thread: Re: Model Cloning
  • Next by thread: Re: Model Cloning
  • Index(es):
    • Date
    • Thread