Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.12.1 Setup for trace acquisition

Organization of this subsection
(1) Connection with the DriverManager class
(2) Connection with the DataSource class

(1) Connection with the DriverManager class

Specify a valid log writer by using the setLogWrite method of the DriverManager class, and specify acquisition of the JDBC interface method trace in the arguments (Properties info) of the getConnection method.

For details, see 17.2.2(2)(d) JDBC_IF and 17.2.2(2)(e) TRC_NO.

(2) Connection with the DataSource class

Specify a valid log writer by using the setLogWriter method provided by the DataSource, ConnectionPoolDataSource, and XADataSource interfaces, and specify the setJDBC_IF_TRC method provided by the DataSource, ConnectionPoolDataSource, and XADataSource classes, which are provided by the JDBC2.0 Optional Package.

For details, see 17.7.5 setJDBC_IF_TRC and 17.7.7 setTRC_NO.