Procedure documentationActivating the JDBC Trace Locate this document in the navigation structure

Prerequisites

You are logged on as the operating system user who started (or will start) the JDBC application.

Note Note

You always activate the JDBC trace for all JDBC applications that the current operating system user has started.

End of the note.

Procedure

Variant 1
  1. Enter the following command on the command line:

    java -jar <independent_program_path>\runtime\jar\sapdbc.jar

  2. Select Trace Enabled.

Variant 2

Enter the following command on the command line:

java -jar <independent_program_path>\runtime\jar\sapdbc.jar TRACE ON

Variant 3

Specify the following option in the connection URL:

trace=<file_name>

More information: Connection URL

Result

The system writes the results of the JDBC trace to files in the configured trace directory.