ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DH12 <dharmesh.bo...@gmail.com>
Subject "resultMap" must be declared for element type "parameter".
Date Mon, 29 Dec 2008 15:01:00 GMT


I am trying to get result from refrence cursor.
Here is my entry...

<resultMap id="treeInfoMap" class="lms.VO.TreeInfoVO" >
    <result property="nodeID" column="NODE_ID" />
    <result property="nodeType" column="NODE_TYPE" />
  <parameterMap id="paramMap" class="java.util.Map" >
    <parameter property="nodeID" jdbcType="NUMERIC"
javaType="java.lang.String" mode="IN"/>
    <parameter property="treeInfo" javaType="java.sql.ResultSet"
jdbcType="ORACLECURSOR" mode="OUT" resultMap="treeInfoMap"/>
  <select id="pro1" parameterMap="paramMap" >
     { call Tree.GETTREEINFO(?,?) }

And my DTD is...

<!DOCTYPE sqlMap
    PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN"

If any solution on that will appreciate.
I gone threw so many places in google but it seems no one has solutions.

View this message in context: http://www.nabble.com/%22resultMap%22-must-be-declared-for-element-type-%22parameter%22.-tp21204262p21204262.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message