ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mona (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-610) how to use partameterMap in ibatis
Date Thu, 18 Jun 2009 09:27:08 GMT
how to use partameterMap in ibatis 

                 Key: IBATIS-610
                 URL: https://issues.apache.org/jira/browse/IBATIS-610
             Project: iBatis for Java
          Issue Type: Bug
         Environment: Windows 2003
Tomcat 5.5

            Reporter: mona

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.

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

View raw message