Easysoft
ODBC Drivers for Oracle, SQL Server, Firebird, ISAM, InterBase, Sybase, MS Access & more.

Easysoft JDBC-ODBC Bridge

How do I get a trace (enable/disable tracing) in the Java client?

Article : 00532
Last Reviewed : 19th July 2005
Revision : 1

The standard Driver Manager methods:

DriverManager.setLogStream(java.io.PrintStream(java.io.PrintStream out))

or

DriverManager(java.io.PrintWriter out)

can be used in your code to enable/disable tracing to specified output.

It is also possible to turn on tracing to the standard output (Java console) by adding the

:trace=on

attribute to the Easysoft JDBC URL.

For multi-threaded applications/applets you should also set the

:multi=on

attribute, so that each line of the generated trace is prefixed with an indication of the thread that produced that line. e.g.

jdbc:easysoft://host/dsn:trace=on:multi=on
Applies To

Knowledge Base Feedback

* Did this content help you?
Yes
No
Maybe
 
* Please select one option based on your first choice:
I'm very satisfied
I think it will help, but I haven't tried it yet
It is helpful, but I need more information
It is helpful, but hard to understand
Seemed relevant in search results, but didn't help me
The information is incorrect
The page contains one or more broken links
 
  Suggest new content or let us know how we can improve this content:

 
  (* Required Fields)   



© 1993 - 2008 Easysoft Limited. All rights reserved.