No, I meant just using multiple parameters, one for each field.

Crude, but effective.

Larry


On 10/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


[EMAIL PROTECTED] scritti il 06/10/2006 16:01:09

 > Sorry, I haven't been following this thread that closely, but why not
 > use out parameters?
 >
 > Larry

 Do you mean that it's possible to use the typeName attribute of the
parameterMap statement?

 <parameterMap id="parameterMapName" [class="com.domain.Product"]>
 <parameter property ="propertyName" [jdbcType="VARCHAR"]
 [javaType="string"]
 [nullValue="-9999"]
 [typeName="{REF or user-defined type}"]
 [resultMap=someResultMap]
 [mode=IN|OUT|INOUT]
 [typeHandler=someTypeHandler]
 [numericScale=2]/>
 <parameter …… />
 <parameter …… />
 </parameterMap>

 Jeff wrote that iBatis is a quite thin layer over JDBC.
 Well, but if the Oracle JDBC driver does NOT support structured types (such
as record), how could iBatis?
 I haven't explored anymore the issue, maybe I'm wrong

 ciao
 Cesare

Reply via email to