EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #432 background imageLoading...
Page #432 background image
Include sqlj.zip in the CLASSPATH if you plan to prepare SQLJ
applications that include only JDBC 3.0 and earlier functions.
Include sqlj4.zip in the CLASSPATH if you plan to prepare SQLJ
applications that include JDBC 4.0 and later functions, as well as JDBC
3.0 and earlier functions.
Important: Include sqlj.zip or sqlj4.jar in the CLASSPATH. Do not include
both files.
db2jcc_license_cisuz.jar
A license file that permits access to the DB2 server.
Modify your CLASSPATH to include these files. If the IBM Data Server Driver
for JDBC and SQLJ is installed in /usr/lpp/db2910_jdbc, modify CLASSPATH
as follows:
For JDBC 3.0 and earlier support:
export CLASSPATH=/usr/lpp/db2910_jdbc/classes/db2jcc.jar: \
/usr/lpp/db2910_jdbc/classes/db2jcc_javax.jar: \
/usr/lpp/db2910_jdbc/classes/sqlj.zip: \
/usr/lpp/db2910_jdbc/classes/db2jcc_license_cisuz.jar: \
$CLASSPATH
For JDBC 4.0 and later, and JDBC 3.0 and earlier support:
export CLASSPATH=/usr/lpp/db2910_jdbc/classes/db2jcc4.jar: \
/usr/lpp/db2910_jdbc/classes/db2jcc_javax.jar: \
/usr/lpp/db2910_jdbc/classes/sqlj4.zip: \
/usr/lpp/db2910_jdbc/classes/db2jcc_license_cisuz.jar: \
$CLASSPATH
If you use Java stored procedures, you need to set additional environment
variables in a JAVAENV data set.
Related concepts
Chapter 2, “Supported drivers for JDBC and SQLJ,” on page 3
“WLM application environment values for Java routines” on page 159
“Run-time environment for Java routines” on page 160
Related tasks
“Running JDBC and SQLJ programs” on page 192
“Installing the z/OS Application Connectivity to DB2 for z/OS feature” on
page 435
Chapter 9, “Migrating from the JDBC/SQLJ Driver for OS/390 and z/OS to the
IBM Data Server Driver for JDBC and SQLJ,” on page 439
“Upgrading the IBM Data Server Driver for JDBC and SQLJ to a new version”
on page 434
Customization of IBM Data Server Driver for JDBC and SQLJ
configuration properties
The IBM Data Server Driver for JDBC and SQLJ configuration properties let you
set property values that have driver-wide scope. Those settings apply across
applications and DataSource instances. You can change the settings without having
to change application source code or DataSource characteristics.
Each IBM Data Server Driver for JDBC and SQLJ configuration property setting is
of this form:
property=value
416 Application Programming Guide and Reference for Java
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability