Jump to content
We've recently updated our Privacy Statement, available here ×

Oracle SQL Cursor to a report


tonydb
Go to solution Solved by ajinkya_c,

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...