NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.1+)
t3jdbc:sqlrmi:
Type 3 JDBC Driver
Java applications should turn on tracing using the DriverManager.setLogWriter
method.
Tracing Using the DataSource
Implementation
This is preferred way to establish a JDBC connection and to enable the JDBC trace facility. In
this way, a logical name is mapped to a trace data source object by means of a naming service
that uses the Java Naming and Directory Interface (JNDI).
The following table describes the set of properties that are required for a trace data source
object:
Property Name Type Description
dataSourceName String
The data source name
description String
Description of this
data source
traceDataSource String
The name of the
DataSource object
to be traced
The traceDataSource object is used to obtain the JDBC connection to the database. Java
applications should turn on tracing using the setLogWriter method of the DataSource
interface.
Output Format
The format of the trace output is as follows:
jdbcTrace:[thread-id]:[object-id]:className.method(param...)
where
thread-id
is the String representation of the current thread
object-id