Can we Load more then one Drivers at once? if yes than pl. explain with example
thanks shrawan
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
Yes, you can open connections to different databases using different drivers at the same time. I don't think an example is necessary; simple duplicate the code you use to connect to your database and change the parameters - done!
Class.forName() registers the forName()'s parameter class with the DriverManager once and only once; and these drivers map specific URLs onto themselves. "jdbc.drivers" system property contains them actually too.
Ex.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.