ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Vladimirov <denis.vladimi...@gmail.com>
Subject Re: iBatis, Spring and postgres stored procedure
Date Tue, 06 Dec 2005 20:07:13 GMT
Have you modified your parameterMap ? You would need to add an "OUT"
parameter to it.

<parameterMap id="insert-country-params" class="java.util.Map">

<parameter property="insertId" jdbcType="INTEGER"  javaType="
java.lang.Integer" mode="OUT"/>

 <parameter property="isoCode" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
 <parameter property="name" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
 <parameter property="description" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
 <parameter property="langIso" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
</parameterMap>

Regards,
Denis

Mime
View raw message