Oracle SQL Cursor to a report

Hi there,

We want to reduce the complexity of the SQL in our reports and have reports just basically run on summary type data.  We are, at present, using Java code which uses the Jasper Libraries to generate our reports.  We are going to change to the Community Edition of the Jasper Reports Server soon.

Is it possible to pass a cursor (from an Oracle database) to a Jasper Report? or would it be better to have the data written to summary tables and the reports simply select * from the summary table?

Thanks in advance


tonydb's picture
Joined: Sep 7 2010 - 12:03am
Last seen: 9 years 7 months ago

1 Answer:


You can use stored procedure as source for jasper reports.

You can write cursor in stored procedure and use it as source.

But if you can able to load the cursor logic into summary table through any ETL or any other way then it is better way becouse it will improve performance of the report. 




ajinkya_c's picture
Joined: Aug 29 2012 - 6:13am
Last seen: 6 years 4 days ago