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

JasperSoft Studio - Populate Temporary Table With Stored Procedure Before Report


alexandre.massy

Recommended Posts

Hi,

I'm trying to populate a global temporary table with a stored procedure (Oracle) before reporting in JasperSoft Studio so I can have some subreports using that filled temp table.

This stored procedure looks like this :

CREATE OR REPLACE PROCEDURE EXEC_TMPTABLE (pdate IN DATE) AS 
 
BEGIN
 
    package.init_tmptable;
    package.procedure1(pdate):
    package.procedure2(pdate);
    package.procedure3(pdate);
   commit;
 
END;

I tried to put some pl/sql to call this stored procedure : {call EXEC_TMPTABLE($P{DATE}) }

After the call, I'll have to call several subreports that will use the previously filled temp table. Unfortunatly, I keep having a blank document and nothing comes out.

Does anyone have an idea ?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...