This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
It's not a secret anymore!