RE: Multiple Databases within the same application
"Hagerty, Timothy CIV NAVSAFECEN, 52D" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <A87876CC4C70F349B0ED74EF9F4CA776044018C9@NAEANRFKEX01VA.nadsusea.nads.navy.mil> |
It is only one. -----Original Message----- From: user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org [mailto:user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org]On Behalf Of Vidakovic Aleksandar Sent: Tuesday, March 23, 2004 10:15 To: user-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] Subject: AW: [Keel User] Multiple Databases within the same application Tell me, do you have different database types or is it only on? -----Ursprüngliche Nachricht----- Von: Hagerty, Timothy CIV NAVSAFECEN, 52D [mailto:[email protected]] Gesendet: Dienstag, 23. März 2004 16:08 An: user-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] Betreff: RE: [Keel User] Multiple Databases within the same application Aleks, Thanks for the reply, I have read a bit about c-jdbc and that may be an option if the config change would be minimal. I was hoping that there was a config setting that would make one of the connections stand out to be the default. Tim -----Original Message----- From: user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org [mailto:user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org]On Behalf Of Vidakovic Aleksandar Sent: Tuesday, March 23, 2004 10:02 To: user-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] Subject: AW: [Keel User] Multiple Databases within the same application Salut, I'm also interested in this scenario and it could be done with keel. Though, another solution would be to use c-jdbc by objectweb. It's a jdbc driver that hides multiple databases behind a single (virtual) database. Pro: - it's only jdbc... Con: - I think with the persistence service you can only handle ONE database TYPE, i. e. several Oracle instances, but no mix of different database products... BUT: might be possible with a "generic sql" configuration. I'm going to explore this in the next days... maybe I'll be able to say more about it... Aleks -----Ursprüngliche Nachricht----- Von: Hagerty, Timothy CIV NAVSAFECEN, 52D [mailto:[email protected]] Gesendet: Dienstag, 23. März 2004 15:52 An: user-keelframework.org-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org Betreff: [Keel User] Multiple Databases within the same application Hello All, I have a question about multiple database connections. I have 3 separate database connections going to 3 different databases. When I use the following code: PersistentFactory pf = (PersistentFactory) request.getService(PersistentFactory.ROLE, request.getDomain()); I get a connection to the first jdbc connection listed within the merged.config file. How do I set one of those connections apart from the other 2 as the default connection when I use the code: request.getDomain()? Thanks, Tim _______________________________________________ User mailing list [email protected] http://lists.keelframework.org/listinfo.cgi/user-keelframework.org _______________________________________________ User mailing list [email protected] http://lists.keelframework.org/listinfo.cgi/user-keelframework.org _______________________________________________ User mailing list [email protected] http://lists.keelframework.org/listinfo.cgi/user-keelframework.org