Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Registering the JDBC Client

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

To use the JDBC Client, you first must register it with the JDBC Driver Manager. You can register the JDBC Client in any of the following ways:

  • Method 1: Set the Java 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:

    com.ddtek.jdbc.openaccess.OpenAccessDriver:sun.jdbc.odbc.JdbcOdbcDriver

    The jdbc.drivers property can be set like other Java properties, using the -D option. For example:

    java -Djdbc.drivers=com.ddtek.jdbc.openaccess.OpenAccessDriver

  • Method 2: Set the Java property jdbc.drivers from within your Java application or applet. To do this, include the following code in your application or applet, and call DriverManager.getConnection():

    Properties p = System.getProperties();

    p.put ("jdbc.drivers", "com.ddtek.jdbc.openaccess.OpenAccessDriver");

    System.setProperties (p);

  • Method 3: Explicitly load the driver class using the standard Class.forName() method. To do this, include the following code in your application or applet and call DriverManager.getConnection():

    Class.forName("com.ddtek.jdbc.openaccess.OpenAccessDriver");

TitleResults for “How to create a CRG?”Also Available inAlert