Export to GitHub

jdbcdslog-exp - UserGuide.wiki


Origin User Guide

please first read the origin user guide from UserGuide - jdbcdslog - Tracing tool for JDBC,since jdbcdslog-exp project based on does not change the original function.

New features And How to use it

more directly fill SQL statement

samples as: * origin(jdbcdslog) http://usc.googlecode.com/files/origin.png * new(jdbcdslog-exp) http://usc.googlecode.com/files/new.png

can use a configurable SQL formatter

put jdbcdslog.properties file into the classpath of your application. and config "jdbcdslog.driverName" prop, like: ```

jdbcdslog driver name.if empty,is oracle(default db)

you may choose "oracle","mysql" ,"sqlserver" or empty (Case-insensitive and does not need the double quotes)

jdbcdslog.driverName=oracle ```

can be configured to display elapsed time

ditto. config "jdbcdslog.showTime" prop,like: ```

jdbcdslog will show elapsed time

jdbcdslog.showTime=true ```

is available in the maven central repository

<dependency> <groupId>com.googlecode.usc</groupId> <artifactId>jdbcdslog</artifactId> <version>1.0.6.2</version> </dependency>
If you are Chinese or understand Chinese, please visit http://www.blogjava.net/lishunli/archive/2011/12/05/365526.html'>http://www.blogjava.net/lishunli/archive/2011/12/05/365526.html to get more details.
Thanks.