ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin" <brandon.goo...@gmail.com>
Subject Re: Calling a single-param SP
Date Fri, 26 Jan 2007 13:37:43 GMT
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
>

Mime
View raw message