Java Utililty Methods Database Driver Load

List of utility methods to do Database Driver Load

Description

The list of methods to do Database Driver Load are organized into topic(s).

Method

ClassloadDriver()
load Driver
String jdbcDriver = System.getenv("JDBC_DRIVER");
if (jdbcDriver == null) {
    jdbcDriver = "com.mysql.jdbc.Driver";
return Class.forName(jdbcDriver);
booleanloadDriver(String driverClassName)
Loads and registers a database driver class.
try {
    Class.forName(driverClassName).newInstance();
    return true;
} catch (ClassNotFoundException e) {
    return false;
} catch (IllegalAccessException e) {
    return true;
} catch (InstantiationException e) {
...