and don't forget to enlist the IDbCommand in the session's current Transaction before you execute it
On Tue, Jun 23, 2009 at 4:41 AM, Plácido Bisneto <[email protected]>wrote: > you can use the ADO.NET connection in this particular case and then create > a IDbCommand, fill the IDbParameters and then Execute the SP. > I guess that's the easy way :) > > > Plácido Bisneto - .NET Developer > Blog: http://cidico.wordpress.com > OpenControls: http://opencontrols.codeplex.com > > > 2009/6/22 Silvia <[email protected]> > > >> >> Hi Everybody, >> >> My question is how I can call an oracle stored procedure from >> Nhibernate? >> I know calling a stored procedure is not a good idea when you are >> using nhibernate, but it is needed in my situation and I was searching >> the internet a lot and seems that nobody had luck to call an oracle sp >> with an out parameter of type Ref cursor. >> I would be appreciative if any body could help. >> >> Thanks, >> Silvia >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
