IBM DB2 Manual page 344

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328
Application Programming Guide and Reference for Java
Returns current client workstation name for the current client.
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.
getDB2Correlator
Format:
String getDB2Correlator()
throws java.sql.SQLException
Returns the value of the crrtkn (correlation token) instance variable that DRDA
sends with the ACCRDB command. The correlation token uniquely identifies a
logical connection to a server.
getDB2CurrentPackagePath
Format:
public String getDB2CurrentPackagePath()
throws java.sql.SQLException
Returns the list of DB2 package collections that are searched for JDBC and
SQLJ packages.
The getDB2CurrentPackagePath method applies only to connections to DB2
database systems.
getDB2CurrentPackageSet
Format:
public String getDB2CurrentPackageSet()
throws java.sql.SQLException
Returns the collection ID for the connection.
The getDB2CurrentPackageSet method applies only to connections to DB2
database systems.
getDB2ProgressiveStreaming
Format:
public int getDB2ProgressiveStreaming()
throws java.sql.SQLException
Returns the current progressive streaming setting for the connection.
The returned value depends on whether the data source supports progressive
streaming, how the progressiveStreaming property is set, and whether
DB2Connection.setProgressiveStreaming was called:
v If the data source does not support progressive streaming, 2 (NO) is always
returned, regardless of the progressiveStreaming property setting.
v If the data source supports progressive streaming, and
DB2Connection.setProgressiveStreaming was called, the returned value is
the value that DB2Connection.setProgressiveStreaming set.
v If the data source supports progressive streaming, and
DB2Connection.setProgressiveStreaming was not called, the returned value
is 2 (NO) if progressiveStreaming was set to DB2BaseDataSource.NO. If
progressiveStreaming was set to DB2BaseDataSource.YES or was not set, the
returned value is 1 (YES).
getDB2SecurityMechanism
Format:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents