ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: Calling a single-param SP
Date Fri, 26 Jan 2007 14:02:50 GMT
looks correct to me.  give it a go

On 1/26/07, Brandon Goodin <brandon.goodin@gmail.com> wrote:
>
> 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