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!

Class.forName() method with JDBC driver

843854Apr 7 2005 — edited Apr 8 2005
Why should we use Class.forName method when we want to load a JDBC driver?
Why is it necessary?

Why can't I create an instance of the drivermanager class instead using the new keyword?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2005
Added on Apr 7 2005
4 comments
564 views