IBM DB2 Manual page 355

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents