You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "heaven (JIRA)" <ib...@incubator.apache.org> on 2006/09/20 11:00:23 UTC

[jira] Commented: (IBATIS-334) a nullpointexception when using the resultmap's extends and select at 2.2.0 but works good at 2.1.7

    [ http://issues.apache.org/jira/browse/IBATIS-334?page=comments#action_12436179 ] 
            
heaven commented on IBATIS-334:
-------------------------------

I cannot get the trace detail from my work enviorment. But I ensure this is something not normal.
The nullpointexception is from GeneralStatement.java 188 (2.2.0).
And I use spring framework to manage my jdbc transaction. 
And I just call a queryForList method and the queryForList has a relation with another sqlmap's query.so in a thread there are to query ,one by me,one by ibatis self.
I trace the code ,the first time ibatis can get my transaction manager , but the second time ibatis cannot get the tans ,so the boolean autoStart be true,and the trans is null ,a nullpointexception throws .

when I change back to 2.1.7 ,it works.

> a nullpointexception when using the resultmap's extends and select  at 2.2.0 but works good at 2.1.7
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IBATIS-334
>                 URL: http://issues.apache.org/jira/browse/IBATIS-334
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>    Affects Versions: 2.2.0
>            Reporter: heaven
>


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