Re: how to get the sql string

2009-05-26 Thread joson yu
hi,Popa: really thanks for your reply. my really purpose is to get the SQLs,then i will save the SQLs as my system log infomation. i thourght is there any method in the ibatis to get the sql.but i have find it,and don't get the answer. 2009/5/26 Alin Popa > Hi Joson, > > Afaik, the onl

Re: how to get the sql string

2009-05-26 Thread Alin Popa
Hi Joson, Afaik, the only way to display the executed query is by enabling logging for Connection ... etc. It will display the queries before preparation. As a workaround, I enable sql logging for server (mysql in my case). Indeed, it will really help if ibatis can display the SQLs in an explicit