Re: about log sql

2009-01-05 Thread joson yu
to niels: you said:Another possibility is to write your own proxies for Connection/Statement/PreparedStatement and provide custom factories for this. i am not get your means.from the proxies,how can i get the sql ,from the Connection? the Statement?the PreparedStatement?i think, the proxy method s

Re: about log sql

2009-01-05 Thread Kai Grabfelder
iBATIS just uses commons-logging for logging. If you want to log to a database you need to configure commons-logging that way, for exmpaple by using a database appender with log4j cheers Kai --- Original Nachricht --- Absender: joson yu Datum: 05.01.2009 13:26 > hi ,niels. > i think you have mi

RE: about log sql

2009-01-05 Thread Niels Beekman
From: joson yu [mailto:yuqian...@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

Re: about log sql

2009-01-05 Thread Kai Grabfelder
t; I believe the manual also includes some info on logging. >> >> >> >> Niels >> -- >> >> *From:* joson yu [mailto:yuqian...@gmail.com] >> *Sent:* Monday, January 05, 2009 12:15 PM >> *To:* user-java@ibatis.apache.org >

Re: about log sql

2009-01-05 Thread joson yu
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.

Re: about log sql

2009-01-05 Thread joson yu
ng. > > > > Niels > -- > > *From:* joson yu [mailto:yuqian...@gmail.com] > *Sent:* Monday, January 05, 2009 12:15 PM > *To:* user-java@ibatis.apache.org > *Subject:* about log sql > > > > > hi,all. > i have some other questions. &g

RE: about log sql

2009-01-05 Thread Niels Beekman
From: joson yu [mailto:yuqian...@gmail.com] Sent: Monday, January 05, 2009 12:15 PM To: user-java@ibatis.apache.org Subject: about log sql hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager system.for ibatis,is there anyway to

about log sql

2009-01-05 Thread joson yu
hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager system.for ibatis,is there anyway to get it? 3ks!