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
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
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
for searching the mailing list archive just follow the links on
http://ibatis.apache.org/mailinglists.html,
for example http://www.mail-archive.com/user-java@ibatis.apache.org/ provides
the archive of the user mailing list
cheers
Kai
--- Original Nachricht ---
Absender: joson yu
Datum: 05.01.2
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.
i am sorry to duplicate post.please fogive my action,but i have asked this
question serveral time,but no reply .so ,i am a little ...
and by the way , is there anyway to search the have posted questions in the
email? i am a newer to the maillist.please don't laugh at me.:)
2009/1/5 Niels Beekman
Duplicate posts, hijacking posts: a great way to start the New Year. You
might want to check out
http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+g
et+SqlMapClient+to+log+SQL+statements. I believe the manual also
includes some info on logging.
Niels
__