Jump to content
JasperReports Library 7.0 is now available ×

How to intercept report end?


2005 IR Help

Recommended Posts

By: vilsonfarias - vilsonfarias

How to intercept report end?

2004-05-10 11:43

Greetings,

 

my reports have scriptlets to create some temporary tables in database. These tables are used to hold calculated information for reports and they must be destroyed after report is generated.

 

My report has 2 subreports and each executes a query (using data from temporary tables) and fills a JFreeChart image.

 

Once I'm using Open Reports + Tomcat, I can't write a code to sweep tempory tables after report finishes.

How can I do it inside my report or inside my main scriptlet? It seems that scriptlets can't intercept an event for report end. Am I right? How can I drop my temporary tables in this case?

 

Thanks in advance.

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