Nonstop Database, HiRDB Version 9 UAP Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
18.14.2 Acquisition rules
This section describes the rules for acquisition of the JDBC interface method trace.
- Trace information is acquired when a method of the JDBC interface is called and when processing is returned from that method.
However, trace information is not acquired for methods executed before connection to the database.
Trace information is not acquired for the following methods:
- Driver interface
- - acceptsURL(String url)
- - getMajorVersion()
- - getMinorVersion()
- - getPropertyInfo(String url, Properties info)
- - jdbcCompliant()
- DataSource interface
- - getLoginTimeout()
- - getLogWriter()
- - setLoginTimeout(int seconds)
- - setLogWriter(PrintWriter out)
- Trace information is stored for the number of entries and is output to the specified log writer when the Connection.close method is called (normal termination), or when an SQLException, XAException, or BatchUpdateException is thrown (error occurrence).
- If the number of trace information items exceeds the number of entries, the stored trace information is discarded in chronological sequence and the newest trace information is retained.
- A JDBC interface method trace uses a single-entry trace area for each Entry and each Return.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.