Hi guys,

I have this simply mapping:
<class name="Project" table="Project">
  <id>
  <property name="Name" />
  <sql-insert callable="true">EXEC MyStoredProc ?</sql-insert>
</class>

My stored procedure does something complex and return a result code
(integer).
I need to obtain this result code to know if the insert is a success
or not.

Is it possible to do that with sql-insert and if yes, how to get this
result code?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to