How to use a Get Ref Cursor with Eclipselink Storedfunctioncall ?
Last updated on MARCH 08, 2018
Applies to:Oracle TopLink - Version 188.8.131.52.2 and later
Information in this document applies to any platform.
An Oracle Database Server stored function is returning a REF Cursor as the following :
(v_name IN varchar2,
v_location IN varchar2
) return sys_refcursor
open vCursor for 'select dname from dept';
Using EclipseLink 2.1.x , the question is to know how to obtain the results of this cursor using the org.eclipse.persistence.queries.StoredFunctionCall class.
The goal of this Note is to show how to use the get ref cursor using an Eclipselink StoredFunctionCall .
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms