Executed SQL log

2009-03-19 Thread Alin Popa
Hi, It's possible to display the executed SQL somehow ? I know it's about doing the PreparedStatement ... but .. maybe there is an option to set in order to display these. Some workaround also will be helpful. Thanks. -- Best Regards, Alin

Re: Executed SQL log

2009-03-19 Thread Nicholoz Koka Kiknadze
It's possible to display the executed SQL somehow ? Sure, it's possible to log what statements are prepared, what parameters are set to and what results are retrived. Check the 'Logging SqlMap Activity' section in developer guide.

Re: Executed SQL log

2009-03-19 Thread Alin Popa
Cool, Thanks. On Thu, Mar 19, 2009 at 5:17 PM, Nicholoz Koka Kiknadze kikna...@gmail.com wrote: It's possible to display the executed SQL somehow ? Sure, it's possible to log what statements are prepared, what parameters are set to and what results are retrived. Check the 'Logging SqlMap

Re: Executed SQL log

2009-03-19 Thread Ivan Bojer
You can use this as template then narrow it down to your needs: # Global logging configuration log4j.rootLogger=ERROR, stdout # SqlMap logging configuration... log4j.logger.com.ibatis=DEBUG log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG