Class AutoloadedDriver

java.lang.Object
org.apache.derby.jdbc.AutoloadedDriver
All Implemented Interfaces:
Driver

public class AutoloadedDriver extends Object implements Driver
This is the dummy driver which is registered with the DriverManager and which is autoloaded by JDBC4. Loading this class will NOT automatically boot the Derby engine, but it will register this class as a valid Driver with the DriverManager. Instead, the engine boots lazily when you ask for a Connection. Alternatively, you can force the engine to boot as follows:
         Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();

         // or

     new org.apache.derby.jdbc.EmbeddedDriver();


        
  • Field Details

    • _engineForcedDown

      private static boolean _engineForcedDown
    • _autoloadedDriver

      private static AutoloadedDriver _autoloadedDriver
    • _driverModule

      private static Driver _driverModule
  • Constructor Details

    • AutoloadedDriver

      public AutoloadedDriver()
  • Method Details