Logging of SQL statements happen after execution
------------------------------------------------
Key: IBATIS-321
URL: http://issues.apache.org/jira/browse/IBATIS-321
Project: iBatis for Java
Type: Bug
Components: SQL Maps
Versions: 2.1.7
Reporter: Jerome Gagner
If you turn on Log4j logging for com.ibatis and java.sql.PrepartedStatement,
the logging of executed statements happen after the statement is executed. As a
result, if your SQL statement throws an exception, there is no way to view the
SQL that was run. This makes debugging very difficult with complex sqlmaps.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira