In an embedded environment, the embedded driver is initially loaded and
registered when the java.sql.DriverManager class is initialized. That
typically happens on the first call to a DriverManager method such as
DriverManager.getConnection, as described in
. Loading the driver also
starts .
The driver
class name for the embedded environment is
org.apache.derby.jdbc.EmbeddedDriver.
For detailed information about loading the
JDBC driver, see
"java.sql.Driver interface" in the
.
If your application shuts down
or calls the
DriverManager.deregisterDriver
method, and you then want to reload the driver, call the
Class.forName().newInstance() method. See
for more information.