In several usecases i've heard of, it would be very helpful if this extension was available for OS11 as opposed to using the workaround of Advanced SQL queries to call procedures and functions.
I've started to look into the code to see what could be done - but I seem to be stuck halfway.
While there are no compilation errors after a small fix, i get the following error as a screen-action calls the extension method to delete a record, entering a structure record with attributes exactly like the procedure parameter.
Unable to cast object of type 'System.Data.SqlClient.SqlTransaction' to type 'Oracle.ManagedDataAccess.Client.OracleTransaction'.
Sadly I'm working without an on-premise outsystems environment (personal cloud) so I'm unable to properly debug the extension code as recommended.
I've followed any helpful hints i could find in both the Oracle Connector & P9 forge forums, and several attempts ended me up with this error. Can anyone point me in the right direction?
Full error log:
Carina wrote:
Carina, did you find a way to solve this problem?Cheers,
Eduardo Oliveira wrote:
Hi Eduardo,Unfortunately I did not find the help I needed, and had to focus on other matters soon after. So I am afraid I did not get further with this issue.I did see that there is a p11 version of the oracle connector component out now at https://www.outsystems.com/forge/component-overview/6636/oracle-connector-p11, thank you for that. I have not had enough time for Outsystems in recent months to try that out but i will try soon.
Best regards,
Carina
I tried to fix the code provided in p9, I got the same issue as you about the cast of object type, but after some tests the error disappeared.Worked for me in the projects that i am using the component. Check the p11 later and tells me if worked for you.Cheers,
Eduardo Oliveira