ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATIS-321) Logging of SQL statements happen after execution
Date Mon, 10 Jul 2006 19:49:31 GMT
     [ http://issues.apache.org/jira/browse/IBATIS-321?page=all ]
     
Jeff Butler closed IBATIS-321:
------------------------------


Fixed in SVN

> Logging of SQL statements happen after execution
> ------------------------------------------------
>
>          Key: IBATIS-321
>          URL: http://issues.apache.org/jira/browse/IBATIS-321
>      Project: iBatis for Java
>         Type: Improvement

>   Components: SQL Maps
>     Versions: 2.1.7
>     Reporter: Jerome Gagner
>     Assignee: Jeff Butler
>      Fix For: 2.2.0

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


Mime
View raw message