Is there anymethod to get the sql string in the config file which will run when called. in my system,i need to record the sql string as log infomation,is there anyway.
Notice,i know how to print the sql with log4j. but i don't have any idea to use it.