Oracle SQL Cursor to a report

0

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

regards

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

1 Answer:

0

Hi,

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. 

 

Thanks,

Ajinkya

ajinkya_c's picture
935
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 8 months ago
Feedback
randomness