Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

17.7.5 setJDBC_IF_TRC

(a) Function

Sets whether or not a JDBC interface method trace is to be acquired.

(b) Format
 
public void setJDBC_IF_TRC ( boolean flag ) throws SQLException
 
(c) Arguments

boolean flag
Specifies whether or not a trace is to be acquired:
true: Acquire a trace.
false: Do not acquire a trace.
(d) Return value

None.

(e) Functional detail

Sets whether or not a JDBC interface method trace is to be acquired.

The default value when this method is not called is false (trace is not acquired). You can use the setLogWriter method in a separate operation to set the effective output destination. For details about the JDBC interface method trace, see 17.12 JDBC interface method trace.

(f) Exceptions

None.

(g) Note

Whether or not a JDBC interface method trace is to be acquired cannot be set separately for each instance. The setting that is set by this method affects all DataSource, ConnectionPoolDataSource, and XADataSource instances in existence, both when the setting is set and after the setting has been set.