Registering the driver with the JDBC Driver Manager allows the driver manager to load the driver. The class name for the driver is:

  • com.ddtek.jdbc.oracleservicecloud.OracleServiceCloudDriver

You can register the driver with the JDBC Driver Manager using any of the following methods:

  • Method 1: Set the Java system property jdbc.drivers using the Java -D option. The jdbc.drivers property is defined as a colon-separated list of driver class names. For example:
    java -Djdbc.drivers=com.ddtek.jdbc.oracleservicecloud.OracleServiceCloudDriver
  • Method 2: Set the Java property jdbc.drivers from within your Java application or applet. Include the following code fragment in your Java application or applet, and call DriverManager.getConnection(). For example:
    Properties p = System.getProperties();
    p.put ("jdbc.drivers",
    "com.ddtek.jdbc.oracleservicecloud.OracleServiceCloudDriver");
    System.setProperties (p);
  • Method 3: Explicitly load the driver class using the standard Class.forName() method. Include the following code fragment in your application or applet and call DriverManager.getConnection(). For example:
    Class.forName("com.ddtek.jdbc.oracleservicecloud.OracleServiceCloudDriver");