Procedure inside of an Oracle Package
Hello,
I'm looking for information on how to call an insert procedure that is inside of an Oracle Package. Will the SqlInsert("") method accomplish this for me or do I need to revert to standard HBM mappings?
Thanks
Support Staff 2 Posted by James Gregory on 27 Oct, 2010 03:29 PM
I have no idea. How would you normally call a procedure inside an oracle package?
3 Posted by martindalec on 27 Oct, 2010 05:14 PM
If I had a package called Common_Log_Pkg and inside of there a procedure called Log, I would call it like Common_Log_Pkg.Log(params). Our DBAs here are fond of creating giant packages with a ton of different procedures inside of them.
Support Staff 4 Posted by James Gregory on 05 Nov, 2010 02:03 PM
Our stored procedure support is patchy at best, so what you're wanting to do might not be entirely possible.
You should have a read of Ayende's blog post on the NHibernate stored procedure support and take it from there. If you have any specific questions on how to convert between the XML examples and Fluent, give us a shout.