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
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
>
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.
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
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
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!