The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


ClassLoader and JDBC

Posted by Wil on July 07, 2000 at 3:54 PM

If a JDBC driver is downloaded from a network via a classloader,
and the driver has registered itself with the DriverManager.
Is this JDBC driver only accessible from code that is loaded
by the same classloader as the downloaded JDBC driver(via
DriverManager.getConnection() )? In other words, DriverManager
will only satisfy connection requests from code which has been
loaded from the same classloader as the driver. Is this
statement correct? Any ideas?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us