Is it possible to manipulate post query data with multiple lines of Java?

I have been diving into Jaspersoft Studio for a little bit now and I am trying to manipulate the data I get back from a PostgreSQL query. I know that you can use the Expression Editor to manipulate data, but from my experience, it only allows one line of Java. So, Is there a way to use multiple lines of Java (creating variables or even creating methods) to work with the data?

Thanks for any help on this!

matt_30's picture
Joined: Feb 19 2016 - 9:21am
Last seen: 6 years 8 months ago

1 Answer:

Yes, you can use Scriplets

AND custom functions.

JasperReports is designed to allow developers to add their own extensions. JasperReports is very flexible and I've found that I can do almost everything I want to do with it.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago