DatabaseLink`
DatabaseLink`

JDBCDriver

JDBCDriver[args]

specifies the configuration for connecting to a database produced by a specific vendor.

Details and Options

  • To use JDBCDriver, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • JDBCDriver is used only in JDBC configuration files on DatabaseResourcesPath.
  • The following options can be given:
  • "Description"""description of the connection
    "Driver"""class file of the JDBC driver
    "Location"""location of the file that defines the driver
    "Name"""name of the connection
    "Protocol"""JDBC protocol

Examples

Basic Examples  (1)

If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the "DatabaseLink`DatabaseExamples`" package, as described in Using the Example Databases.

A JDBC configuration file:

A connection that uses this configuration: