File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Multiple RDBMS Connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Multiple RDBMS Connections" Watch "Multiple RDBMS Connections" New topic

Multiple RDBMS Connections

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
I need to connect to two different RDBMS lets say DB2 and Oracle.
Can I use Class.forName("mydriver") technique to load the database drivers
and get connection using DriverManager.getConnection(). I think its not possible.
How can I make my Swing ( desktop ) application to connect to different RDBMS, using the same JVM.
Thanks for the time.

I agree. Here's the link:
subject: Multiple RDBMS Connections