Commons logging is supported.  with log4j, you simply use:

java.sql=DEBUG
com.ibatis=DEBUG

and you should get the appropriate SQL statements, results and parameters.

PS: In 2.1.5 the dependency on commons logging will be removed...CL will still be  supported, but so will L4J and JDK14 without commons.

Cheers,

Clinton

On 6/29/05, Prashanth Sukumaran <[EMAIL PROTECTED]> wrote:
Hi Satish,

I don't know if there is a way in iBatis to do this.  But you can use p6spy to monitor the sql
generated.  It is very simple to setup.

Rgds
Prashanth.

--- "Rao, Satish" < [EMAIL PROTECTED]> wrote:

> I am using dynamic SQL and wanted to know if there is a way to print the
> generated SQL within java
>
>




____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com

Reply via email to