ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Rodenbaugh" <drodenba...@WILDBLUECORP.COM>
Subject Calling a single-param SP
Date Thu, 25 Jan 2007 23:50:55 GMT
Hi everyone,
 
New question....
 
If I have a stored proc that takes a single parameter...is this the
right way to call it in the SQL Map XML?
 
<parameterMap id='paramFooProc' class='java.lang.String'>

<parameter property='singleParamName' jdbcType='VARCHAR'
javaType='java.lang.String' mode='IN'/>

</parameterMap>

<procedure id='fooProc' parameterMap='paramFooProc'>

{call OWNER.APP.SP_NAME(?)}

</procedure>

or should I be using a parameterClass='java.lang.String' instead of the
parameterMap in the procedure tag?

Confused,

-D


Mime
View raw message