GeeCON Prague 2014*
The moose likes JDBC and the fly likes How I unload driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How I unload driver" Watch "How I unload driver" New topic
Author

How I unload driver

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
We always load driver and take connection and close it, but we never unload the driver , why ?
:roll:
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Loading the driver allows the Driver to register itself with the DriverManager (this is done automatically, you should never need to do it explicitly). This is only done once, even if you load the Driver multiple times - it only loads itself when the Driver Class is loaded by the ClassLoader.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How I unload driver