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>
|