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 JDK1.6 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. _________________ Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.