Re: Swap database instance at runtime
Henrique Prange <[email protected]> Tue, 17 Nov 2009 10:34:01 -0200
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Rogier, I asked the same thing some time ago. Take a look at this thread [1] and you'll probably find what you are looking for. [1]http://lists.apple.com/archives/Webobjects-dev/2009/Sep/msg00448.html Cheers, Henrique Rogier Bosch wrote: > Hi All, > > I have one WO application which i would like to connect to different > databases (1 db for each customer). The database schema is the same for > all of them. My question is: how can i (if possible) @ runtime, swap > the EO model/objects to connect to a different database instance? > > A small peace of example code would be appreciated. > > Many thanks in advance, > > Roger > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev