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: SQL Server + .NET Ibatis Issue
Date Sun, 29 May 2005 07:36:05 GMT
For a procedure just put the name of the query between the procedure tag.
Example form Nunit tests

<!-- For procedure, the parameters of the parameterMap must in the same 
order 
as for the procedure paramaters-->
<procedure id="InsertAccountViaStoreProcedure" parameterMap="insert-params">
ps_InsertAccount
</procedure>

<procedure id="SwapEmailAddresses" parameterMap="swap-params">
ps_swap_email_address
</procedure>

<procedure id="GetAccountViaSP" parameterMap="select-params" 
resultClass="Account">
ps_SelectAccount
</procedure>
Cheers, 
Gilles

Mime
View raw message