You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Wei Cheng <wi...@yahoo.com> on 2006/11/24 04:19:27 UTC

One simple iBatis question-ExecuteNonQuery

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.
http://new.mail.yahoo.com