Infinite loop when result set is null
-------------------------------------
Key: IBATIS-538
URL: https://issues.apache.org/jira/browse/IBATIS-538
Project: iBatis for Java
Issue Type: Bug
Components: SQL Maps
Affects Versions: 2.3.0
Environment: Win XP/JDK 1.4
Reporter: Archana Singh
Priority: Blocker
Fix For: 2.3.0
SQLExecutor.getFirstResultSet method call goes into an infinite loop when using
Stored procedures in Oracle DB as the result set is null.
this.queryForObject("getSetValue", map);
***************SQL Map entry:************************
<parameterMap id="keyRingParams" class="map">
<parameter property="p_key" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
<parameter property="p_value" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
<parameter property="o_value" jdbcType="VARCHAR"
javaType="java.lang.String" mode="OUT"/>
<parameter property="o_datetime" jdbcType="TIMESTAMP"
javaType="java.util.Date" mode="OUT"/>
</parameterMap>
<procedure id="getSetValue" parameterMap="keyRingParams">
{call ag_setget_pvtkey (?,?,?,?)}
</procedure>
******************************************************************************************************************
I found this similar issue (https://issues.apache.org/jira/browse/IBATIS-384)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.