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 #355 background imageLoading...
Page #355 background image
setDB2ClientUser sets the value in the CLIENT USERID special register.
Parameter description:
user
The user ID for the current client.The maximum length depends on the
server. For a DB2 Database for Linux, UNIX, and Windows server, the
maximum length is 255 bytes. For a DB2 for z/OS server, the maximum
length is 16 bytes. A Java empty string (″″) is valid for this parameter
value, but a Java null value is not valid.
Important: getDB2ClientUser is deprecated in the JDBC 4.0 implementation of
the IBM Data Server Driver for JDBC and SQLJ. Use
java.sql.Connection.getClientInfo instead.
setDB2ClientWorkstation
Format:
public void setDB2ClientWorkstation(String name)
throws java.sql.SQLException
Specifies the current client workstation name for the connection. This name is
for client accounting purposes. The current client workstation name can change
during a connection.
setDB2ClientWorkstation sets the value in the CLIENT WRKSTNNAME
special register.
Parameter description:
name
The workstation name for the current client.The maximum length depends
on the server. For a DB2 Database for Linux, UNIX, and Windows server,
the maximum length is 255 bytes. For a DB2 for z/OS server, the
maximum length is 18 bytes. A Java empty string (″″) is valid for this
parameter value, but a Java null value is not valid.
Important: getDB2ClientWorkstation is deprecated in the JDBC 4.0
implementation of the IBM Data Server Driver for JDBC and SQLJ. Use
java.sql.Connection.getClientInfo instead.
setDB2CurrentPackagePath
Format:
public void setDB2CurrentPackagePath(String packagePath)
throws java.sql.SQLException
Specifies a list of collection IDs that the database system searches for JDBC and
SQLJ packages.
The setDB2CurrentPackagePath method applies only to connections to DB2
database systems.
Parameter description:
packagePath
A comma-separated list of collection IDs.
setDB2CurrentPackageSet
Format:
public void setDB2CurrentPackageSet(String packageSet)
throws java.sql.SQLException
Chapter 7. JDBC and SQLJ reference information 339
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

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