JDBCDriver

JDBCDriver[args]
specifies the configuration for connecting to a database produced by a specific vendor.

DetailsDetails

  • To use JDBCDriver, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • 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

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

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 package, as described in Using the Example Databases.

A JDBC configuration file:

In[2]:=
Click for copyable input
Out[2]=

A connection that uses this configuration:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
New to Mathematica? Find your learning path »
Have a question? Ask support »