Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does DriverManger recognize the driver?

843854Apr 22 2004 — edited Apr 22 2004
Hello,
I have two programmes a.java and b.java I have loaded two different drivers into the JVM using Class.forName("..."); in both the programmes.

When I say Connection con = DriverManager.getConnection(".."). How does the DriverManager recognize that this was the Driver loaded by this class and how does it pickit up?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2004
Added on Apr 22 2004
2 comments
99 views