|
Here is a sample that will take the refcursor and map it automatically
to your resultMap - No TypeHandler required. <resultMap id="myResultMap" class="MyClass" > <result property="id" column="RECORD_ID" /> <result property="name" column="NAME" /> <result property="address" column="ADDRESS" /> </resultMap> <parameterMap id="myParamMap" class="map" > <parameter property="result" jdbcType="ORACLECURSOR" mode="OUT"/> <parameter property="userId" jdbcType="NUMERIC" mode="IN"/> </parameterMap> <procedure id="mycursorfunction" parameterMap="myParamMap" resultMap="myResultMap" > { ? = call myRefCursorFunction(? ) } </procedure> Regards, Mike Fagan bob robertson wrote:
|
- Re: calling stored functions Mike Fagan
- Re: calling stored functions Ted Schrader
- Re: calling stored functions Mike Fagan
- RE: calling stored functions March, Andres
- Re: calling stored functions Mike Fagan
- RE: calling stored functions Niels Beekman
- Re: calling stored functions bob robertson
- Re: calling stored functions Sven.Boden
- Re: calling stored functions bob robertson
