RE: Ibatis java.sql and log4j

2007-12-03 Thread Tom Henricksen
Subject: RE: Ibatis java.sql and log4j P6spy is pretty easy to setup. http://www.p6spy.com/documentation/index.htm from what I remember you basically point your system to there driver driver=com.p6spy.engine.spy.P6SpyDriver Then setup the spy.properties to point to your

RE: Ibatis java.sql and log4j

2007-12-03 Thread Tom Henricksen
=COM.ibm.db2.jdbc.net.DB2Driver realdriver=com.ibm.db2.jcc.DB2Driver So in your case the Sybase driver. -Original Message- From: Warren [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 5:17 PM To: user-java@ibatis.apache.org Subject: RE: Ibatis java.sql and log4j Thanks, I

Re: Ibatis java.sql and log4j

2007-11-30 Thread Christopher Lamey
e 8.0.2. Any sugestions? > -Original Message- > From: Jeff Butler [mailto:[EMAIL PROTECTED] > Sent: Friday, November 30, 2007 1:42 PM > To: user-java@ibatis.apache.org > Subject: Re: Ibatis java.sql and log4j > > > iBATIS logs to the java.sql objects - so al

RE: Ibatis java.sql and log4j

2007-11-30 Thread Warren
To: user-java@ibatis.apache.org Subject: Re: Ibatis java.sql and log4j iBATIS logs to the java.sql objects - so all the java.sql logging entries you see are actually iBATIS entries - NOT standard java.sql entries. This is a feature of iBATIS and will not be available in other environments

Re: Ibatis java.sql and log4j

2007-11-30 Thread Jeff Butler
iBATIS logs to the java.sql objects - so all the java.sql logging entries you see are actually iBATIS entries - NOT standard java.sql entries. This is a feature of iBATIS and will not be available in other environments. Many JDBC drivers can be configured to do logging, or you can use p6spy, in o

Re: Ibatis java.sql and log4j

2007-11-30 Thread Larry Meadors
Heh, it's a trick. No, java.sql doesn't log anything, but iBATIS logging makes it *look like* it does. It's kind of retarded, I know. Larry On Nov 30, 2007 2:33 PM, Warren <[EMAIL PROTECTED]> wrote: > I have an app that uses Ibatis and log4j to log Ibatis and java.sql. It logs > perfectly. I h