All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-integratejdbcdriver.html Maven / Gradle / Ivy

The newest version!



To Integrate a JDBC Driver

A driver supporting the JDBC API (JDBC driver) translates the JDBC calls of an application into the protocol of the database server.

  • To integrate the JDBC driver into an GlassFish Server domain, do either of the following:
    • Make the driver accessible to the common class loader.
      1. Copy the JAR and ZIP files of the driver into the domain-dir/lib directory.

        Note - There is one exception to this rule. If you are using the Oracle JDBC driver and you wish to take advantage of the EclipseLink extensions that are available for use with Oracle databases, you must place the JAR files for the Oracle JDBC driver in the domain-dir/lib/ext directory.


      2. Restart the domain.
    • Make the driver accessible to the system class loader.
      1. In the navigation tree, expand the Configuration node.
      2. Under the Configuration node, select the JVM Settings node.

        The JVM General Settings page opens.

      3. On the JVM General Settings page, click the Path Settings tab.
      4. In the Classpath Suffix field, type the fully qualified path name for the JAR file of the driver.
      5. Click Save.
      6. Restart the server.

See Also

Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy