ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "adamb (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-338) NestedSqlException stack overflow
Date Wed, 30 Aug 2006 20:08:23 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-338?page=comments#action_12431675 ] 
            
adamb commented on IBATIS-338:
------------------------------

No sorry.  We use a code generator, and the SqlMap formats have changed for 2.  We currenly
have no plan to invest time in updating the generator to make it 1.2 compatible  (Plus our
clients require the use of n-1 technology so would not accept a solution based on 1.2)

> NestedSqlException stack overflow
> ---------------------------------
>
>                 Key: IBATIS-338
>                 URL: http://issues.apache.org/jira/browse/IBATIS-338
>             Project: iBatis for Java
>          Issue Type: Bug
>    Affects Versions: 2.1.5
>            Reporter: adamb
>
> ...
> at com.ibatis.common.jdbc.exception.NestedSQLException.toString(NestedSQLException.java:113)
> at com.ibatis.common.jdbc.exception.NestedSQLException.toString(NestedSQLException.java:113)
> ...
> In the code you can see that if cause==this then the NestedSqlException.toString() method
will infinitely recurse causing a stack overflow.  I'm not sure what is causeing (cause==this)
to be set to this though...

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