How to call an Oracle Stored Function returning a ref cursor?
From a BPM script, is it possible to call an oracle stored function returning a ref cursor?
If i have an oracle function like this:
FUNCTION getCursor( myParameter number) return sys_refcursor is
BEGIN
OPEN myCursor FOR
SELECT *
FROM myTable
WHERE field = myParameter
;
RETURN myCursor;
END;
can you share a BPM script example to call the function and read the cursor?
And is it possible create a business object based on the oracle function?
Thank you in advance.
Comments
-
I have the same problem!
0 -
The native data access methods need to be database vendor-neutral so you won't get this out of the box, but you can certainly use the MS or Oracle provided data access libraries to work with Oracle-specific return types. This would require you to maintain your own connection, command, etc.. and close/dispose of the connection.
0 -
Thank you for the reply, but i need some details.
Read a ref cursor is a normal way to read dataset from Oracle stored procedures. So, can you share an simple example to do this within Opentext MBPM?
If i want to use my rich library of Oracle stored procedure with MBPM, what i do?
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories