If you want the generated query and its parameter mapping, you can use Logging. Support for iBatis Log4J allows you to use this. It shows the execution of sql and other similar logging methods.
Preparing Statement: Executing Statement: Types: ResultSet: Result:
The documentation is in this link .
And a similar topic in here
source share