ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: about log sql
Date Mon, 05 Jan 2009 12:43:17 GMT
If you write a custom appender for log4j, you should be able to access
this information. This would require some parsing on your end. Another
possibility is to write your own proxies for
Connection/Statement/PreparedStatement and provide custom factories for


Hope this helps,




From: joson yu [mailto:yuqianguo@gmail.com] 
Sent: Monday, January 05, 2009 1:26 PM
To: user-java@ibatis.apache.org
Subject: Re: about log sql


hi ,niels.

i think you have miss my question.i know how to log the sql to the
console,but now,i need the way to get the  sql and save it in the db  in
my app .you know that the log manager system need to record the
infomation for analysis.

View raw message