This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
Connecting To Database
Using JDBC java code - how can I connect to IBM AS400 iSERIES to read data
Open Office classes