File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Driver manager and loading driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Driver manager and loading driver" Watch "Driver manager and loading driver" New topic

Driver manager and loading driver

Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
The java.sql.DriverManager class gives this documentation.
"As part of its initialization, the DriverManager class will attempt to load the driver classes referenced in the "jdbc.drivers" system property. This allows a user to customize the JDBC Drivers used by their applications. For example in your ~/.hotjava/properties file you might specify:
jdbc.drivers=foo.bah.Driver:wombat.sql.Driver:bad.taste.ourDriver "
Where can i find this ~/.hotjava/properties file ?
wood burning stoves
subject: Driver manager and loading driver
It's not a secret anymore!