en.help.task-integratejdbcdriver.html Maven / Gradle / Ivy
Show all versions of console-jdbc-plugin Show documentation
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.
-
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.
-
Restart the domain.
-
Make the driver accessible to the system class loader.
-
In the navigation tree, expand the Configuration node.
-
Under the Configuration node, select the JVM Settings node.
The JVM General Settings page opens.
-
On the JVM General Settings page, click the Path Settings tab.
-
In the Classpath Suffix field, type the fully qualified path name for the JAR file of the driver.
-
Click Save.
-
Restart the server.
See Also
-
-
-
-
-
-
-
-
-
-
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices