IBM DB2 Manual page 440

Table of Contents

Advertisement

|
|
|
| |
|
|
|
| |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424
Application Programming Guide and Reference for Java
until the prepared statement is invalidated, or until the statement is
removed from the dynamic statement cache and needs to be prepared
again.
auto
Specifies that access paths are automatically determined by the
database server.
-blocking
Specifies the type of row blocking for cursors.
ALL
For cursors that are specified with the FOR READ ONLY clause or are
not specified as FOR UPDATE, blocking occurs.
UNAMBIG
For cursors that are specified with the FOR READ ONLY clause,
blocking occurs.
Cursors that are not declared with the FOR READ ONLY or FOR
UPDATE clause which are not ambiguous and are read-only will be
blocked. Ambiguous cursors will not be blocked
NO
Blocking does not occur for any cursor.
For the definition of a read-only cursor and an ambiguous cursor, refer
to "DECLARE CURSOR".
-optprofile
Specifies an optimization profile that is used for optimization of data change
statements in the packages. This profile is an XML file that must exist on the
target server. If -optprofile is not specified, and the CURRENT
OPTIMIZATION PROFILE special register is set, the value of CURRENT
OPTIMIZATION PROFILE is used. If -optprofile is not specified, and
CURRENT OPTIMIZATION PROFILE is not set, no optimization profile is
used.
-optprofile is valid only for connections to DB2 Database for Linux, UNIX, and
Windows database servers.
-owner
Specifies the authorization ID of the owner of the packages. The default value
is set by the database server.
-owner applies only to IBM Data Server Driver for JDBC and SQLJ packages.
-sqlid
Specifies a value to which the CURRENT SQLID special register is set before
DB2Binder executes GRANT operations on the IBM Data Server Driver for
JDBC and SQLJ packages. If the primary authorization ID does not have a
sufficient level of authority to grant privileges on the packages, and the
primary authorization ID has an associated secondary authorization ID that
has those privileges, set -sqlid to the secondary authorization ID.
-sqlid is valid only for connections to DB2 for z/OS database servers.
-generic
Specifies that DB2Binder rebinds a user package instead of the IBM Data
Server Driver for JDBC and SQLJ packages. If -generic is specified, -action
rebind and -package must also be specified.
-package
Specifies the name of the package that is to be rebound. This option applies
only to user packages. If -package is specified, -action rebind and -generic
must also be specified.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents