Preloading JARS  JDBC 2.0 optional package extensions support

Chapter 2: Programming Information

Advanced features

There are various public methods in DynamicClassLoader. For more information, see the javadocs information in JDBC_HOME/docs/en/javadocs.

Additional features include the ability to keep a loader’s database connection “alive” when a series of class loads is expected, and to explicitly load a single class by name.Public methods inherited from java.lang.ClassLoader can also be used. Methods in java.lang.Class that deal with loading classes are also available; however, use these methods with caution since some of them make assumptions about which class loader gets used. In particular, you should use the 3-argument version of Class.forName(), otherwise the system (“boot”) class loader will be used. See “Handling error messages”.





Copyright © 2003. Sybase Inc. All rights reserved. JDBC 2.0 optional package extensions support

View this book as PDF