did you try it?

On 1/25/07, Dave Rodenbaugh <drodenbaugh@wildbluecorp.com> wrote:
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