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 #233 background imageLoading...
Page #233 background image
Multiple instances of the IBM Data Server Driver for JDBC and SQLJ can be
installed at a database server by running the DB2Binder utility multiple times.
The DB2binder utility includes a -collection option that lets the installer specify
the collection ID for each IBM Data Server Driver for JDBC and SQLJ instance.
To choose an instance of the IBM Data Server Driver for JDBC and SQLJ for a
connection, you specify a currentPackageSet value that matches the collection
ID for one of the IBM Data Server Driver for JDBC and SQLJ instances.
The precedence rules for the currentPackagePath and currentPackageSet
properties follow the precedence rules for the CURRENT PACKAGESET and
CURRENT PACKAGE PATH special registers.
currentRefreshAge
Specifies a timestamp duration value that is the maximum duration since a
REFRESH TABLE statement was processed on a system-maintained REFRESH
DEFERRED materialized query table such that the materialized query table can
be used to optimize the processing of a query. This property affects dynamic
statement cache matching. The data type of this property is long.
currentSchema
Specifies the default schema name that is used to qualify unqualified database
objects in dynamically prepared SQL statements. The value of this property
sets the value in the CURRENT SCHEMA special register on the database
server. The schema name is case-sensitive, and must be specified in uppercase
characters.
cursorSensitivity
Specifies whether the java.sql.ResultSet.TYPE_SCROLL_SENSITIVE value for a
JDBC ResultSet maps to the SENSITIVE DYNAMIC attribute, the SENSITIVE
STATIC attribute, or the ASENSITIVE attribute for the underlying database
cursor. The data type of this property is int. Possible values are
TYPE_SCROLL_SENSITIVE_STATIC (0), TYPE_SCROLL_SENSITIVE_DYNAMIC (1), or
TYPE_SCROLL_ASENSITIVE (2). The default is TYPE_SCROLL_SENSITIVE_STATIC.
If the data source does not support sensitive dynamic scrollable cursors, and
TYPE_SCROLL_SENSITIVE_DYNAMIC is requested, the JDBC driver accumulates a
warning and maps the sensitivity to SENSITIVE STATIC. For DB2 for i5/OS
database servers, which do not support sensitive static cursors,
java.sql.ResultSet.TYPE_SCROLL_SENSITIVE always maps to SENSITIVE
DYNAMIC.
dateFormat
Specifies:
v The format in which the String argument of the
PreparedStatement.setString method against a DATE column must be
specified.
v The format in which the result of the ResultSet.getString or
CallableStatement.getString method against a DATE column is returned.
The data type of dateFormat is int.
Possible values of dateFormat are:
Constant
Integer
value Format
com.ibm.db2.jcc.DB2BaseDataSource.ISO 1 yyyy-mm-dd
com.ibm.db2.jcc.DB2BaseDataSource.USA 2 mm/dd/yyyy
com.ibm.db2.jcc.DB2BaseDataSource.EUR 3 dd.mm.yyyy
Chapter 7. JDBC and SQLJ reference information 217
|
|
|
|
|
|
|
|
|
|
|
|
||
|||
|||
|||

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