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

0

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: 3 years 2 months ago

1 Answer:

1

Yes, you can use Scriplets

http://jasperreports.sourceforge.net/sample.reference/scriptlet/

AND custom functions.

http://community.jaspersoft.com/wiki/jaspersoft-studio-expression-editor...

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
49373
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 months 1 week ago
Feedback