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