File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Is this possible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is this possible" Watch "Is this possible" New topic
Author

Is this possible

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

What will happen if I use like this :

Connection con1 =DriverManager.getConnection(jdbcracle:thin:user/pass@databasestuff);

Connection con2 = DriverManager.getConnection(“dfferent database “)



Save India From Corruption - Anna Hazare.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
What happened when you tried it?


Ping & DNS - my free Android networking tools app
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

It will work if you have added the jar files for both of these databases.

Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is this possible