Community
Participate
Working Groups
Package types AS Type cursor-type IS REF CURSOR Procedure GetEmpRS (p_deptno IN emp.deptno%TYPE, p_recordset OUT types.cursor_type); END types PACKAGE BODY Types is PROCEDURE GetEmpRS (p_deptno IN emp.deptno%TYPE, p_recordset OUT types.cursor_type) IS BEGIN OPEN p_recordset FOR SELECT ename, empno, deptno FROM emp WHERE deptno = p_deptno ORDER BY ename; END GetEmpRS; The request fails with ora-6550 and pl/sql 306 returned
as of 12/02/27, the use-case below works so long as all of the other types references in the package can be resolved - i.e. do not involve any anchor types (%TYPE, %ROWTYPE) that cannot currently be resolved.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink