ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Gagner (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-321) Logging of SQL statements happen after execution
Date Sun, 09 Jul 2006 03:10:29 GMT
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:
For more information on JIRA, see:

View raw message