ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon" <ibatis....@gmail.com>
Subject Re: Problem calling stored procedure having no parameter
Date Thu, 16 Nov 2006 06:33:09 GMT
It's in SVN

On 11/15/06, Bob Hanson <mnbob70@gmail.com> wrote:
>
> Are there any plans to change the schema so that a parameter map is not required for
a stored procedure?
>
> ------------------
> From: Oddur Snær Magnússon [mailto:[EMAIL <%5BEMAIL>
>  PROTECTED]
> Sent: Mon 7/24/2006 10:11 PM
> To: user-cs@ibatis.apache.org
> Subject: RE: Problem calling stored procedure having no parameter
>
>
>
> I got around it by having an empty parametermap
>         <parameterMaps>
>                 <parameterMap id="noparams"></parameterMap>
>         </parameterMaps>
>
> And then using that in the <procedure> statement:
>
>
> <procedure id="GetAllSomething"  parameterMap="noparams"
> resultMap="SomeThing">sprocName</procedure>
>
> I think that's the only solution since the parameterMap attribute is required
> on the procedure element.
>
> - Oddur
>
>


-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

Mime
View raw message