You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2009/06/18 17:01:08 UTC

[jira] Closed: (IBATIS-610) how to use parameterMap in ibatis

     [ https://issues.apache.org/jira/browse/IBATIS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Butler closed IBATIS-610.
------------------------------

    Resolution: Invalid

Not a bug.

Please use the mailing lists for user questions.


> how to use parameterMap in ibatis 
> ----------------------------------
>
>                 Key: IBATIS-610
>                 URL: https://issues.apache.org/jira/browse/IBATIS-610
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>         Environment: Windows 2003
> JDK1.6
> Tomcat 5.5
>            Reporter: mona
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Dear All,
> I am using ibatis and i want to call function in ibatis but the problem is here when i pass two parameter IN and Out together in to my mysql function it throws exception like:-
> Exception in callFunction of GenerateXMLFromProc Classcom.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in com/wil/web/ibatis/sql/testQry.xml.
> --- The error occurred while applying a parameter map.
> --- Check the qry.genOuput.
> --- Check the parameter mapping for the 'param' property.
> --- Cause: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
> when i use individually IN and OUT parameter in diffrent mysql function it works, so tell me how to use both IN and OUT parameter in function calling through ibatis.
> My developed mysql function perfectly work when i run it from mysql, so i don't understand where is the problem?
> can any one help me out it's urgent for me.
> _________________
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.