How to call Stored Procedure which returns ref cursor from Jaspersoft studio 6.0.1
Posted on July 28, 2015 at 12:58pm
Hi Team,
There is a requirement where I need to convert a stored procedure into jasper report? The procedure has few input parameters and an output parameter which is a ref cursor. There are many if else , for loop , multiple dynamic queries , 2-3 cursors . So, due to the complexity involved, thought of calling the stored procedure from jaspersoft studio?
Could you please let me know, how can I achieve it?
Thanks in Advance.
Joined: Jun 19 2015 - 3:50am
Last seen: 8 years 1 month ago
Posted on July 28, 2015 at 10:02pm
You should call a stored procedure in jasper studio. In dataset and query window, change language to "plsql" and call your procedure like
EXEC SP_NAME $P{param1}, $P{param2}, $P{param3}, ...
Joined: Nov 19 2014 - 11:02pm
Last seen: 7 years 2 months ago