ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mittal Chavda" <mcha...@glbl.com>
Subject Re: One simple iBatis question-ExecuteNonQuery
Date Fri, 24 Nov 2006 11:05:42 GMT

i have used QueryForObject.


---------- Original Message ----------------------------------
From: Wei Cheng <wicheng@yahoo.com>
Reply-To: user-cs@ibatis.apache.org
Date:  Thu, 23 Nov 2006 19:19:27 -0800 (PST)

>If I have a SQL Server stored procedure, which takes
>no parameter and has no returned query result except a
>return value of integer type-the kind of stored
>procedure we normally call with ExecuteNonQuery in
>ADO.NET, what is the optimized way calling it and how
>could I capture the returned value from the stored
>procedure? Using QueryForObject? 
>Thanks for the information.
>Wei Cheng
>Do you Yahoo!?
>Everyone is raving about the all-new Yahoo! Mail beta.

View raw message