How To Turn On Server Side Tracing From A JDBC Program (Doc ID 434462.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version 10.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 17-Dec-2013***

Goal

There are many notes on server-side tracing via setting events on a session or system level (see references below). What the sample code included in this note shows is how to turn on server-side tracing from a JDBC program. By doing this we can set tracing only for the portion of the Java code that is causing the problem.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms