Q ) If i am using Type1 as well as Type 4 Driver in my java application which will be loaded first? With the help of which Driver connection is establish?
posted 9 years ago
You can have as many drivers in a program as you like. They're loaded by the Class.forName statement, so whichever of those comes first, gets loaded first. That shouldn't matter, though, because they're independent of each other.
The driver to be used is determined by the JDBC URL used in the getConnection call.