Swap database instance at runtime
Rogier Bosch <[email protected]> Tue, 17 Nov 2009 10:46:03 +0100
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
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