My databse is oracle 11.1 and Font End application is java
For that application i done like below
Example:
create or replace
PACKAGE TYPES AS
type cursorType is ref cursor;
END TYPES;
CREATE OR REPLACE PROCEDURE EMPInfo
(
P_EmpNo IN NUMBER(4),
Get_EmpInfo OUT TYPES.CURSORTYPE
)
AS
BEGIN
OPEN Get_EmpInfo
FOR
SELECT E.Ename,D.Dname,E.Hiredate
FROM EMP E INNER JOIN DEPT D
ON E.Deptno=D.Deptno;
END EMPInfo;
but this concept is not able to work in multiple sessions(like multiple users not able to accessing that application)
we are getting Error is "ORA-01000: maximum open cursors exceeded "
without using Refcursor as a out parameter,How should i pass the Result Set to the my front End application
Thanks
Ragav