IBM DB2 Manual page 228

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212
Application Programming Guide and Reference for Java
sslConnection
Specifies whether the IBM Data Server Driver for JDBC and SQLJ uses an SSL
socket to connect to the data source. If sslConnection is set to true, the
connection uses an SSL socket. If sslConnection is set to false, the connection
uses a plain socket.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
sslTrustStoreLocation
Specifies the name of the Java truststore on the client that contains the server
certificate for an SSL connection.
The IBM Data Server Driver for JDBC and SQLJ uses this option only if the
sslConnection property is set to true.
If sslTrustStore is set, and sslConnection is set to true, the IBM Data Server
Driver for JDBC and SQLJ uses the sslTrustStoreLocation value instead of the
value in the javax.net.ssl.trustStore Java property.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
sslTrustStorePassword
Specifies the password for the Java truststore on the client that contains the
server certificate for an SSL connection.
The IBM Data Server Driver for JDBC and SQLJ uses this option only if the
sslConnection property is set to true.
If sslTrustStorePassword is set, and sslConnection is set to true, the IBM Data
Server Driver for JDBC and SQLJ uses the sslTrustStorePassword value instead
of the value in the javax.net.ssl.trustStorePassword Java property.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
timestampFormat
Specifies the format in which the result of the ResultSet.getString or
CallableStatement.getString method against a TIMESTAMP column is
returned. The data type of timestampFormat is int.
Possible values of timestampFormat are:
Constant
com.ibm.db2.jcc.DB2BaseDataSource.ISO
com.ibm.db2.jcc.DB2BaseDataSource.JDBC
The default is com.ibm.db2.jcc.DB2BaseDataSource.JDBC.
timestampFormat affects the format of output only.
timestampPrecisionReporting
Specifies whether trailing zeroes are truncated in the result of a
Resultset.getString call for a TIMESTAMP value. The data type of this
property is int. Possible values are:
TIMESTAMP_JDBC_STANDARD (1)
Trailing zeroes are truncated in the result of a Resultset.getString call
for a TIMESTAMP value. This is the default.
Integer
value
1
5
Format
yyyy-mm-dd-
hh.mm.ss.nnnnnn
yyyy-mm-dd
hh:mm:ss.nnnnnn

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents