Reports with Jasper Ports

Asked

Viewed 276 times

0

Good evening guys! To create reports with Jasper I need to have classes with templates? Since I already have a populated bank and I only want the reports, creating filters and tals...

  • Class as templates and the standard bean (pojo) Hibernate uses this technique, you can also have reports based on the database native SQL query there vc would put the parameters directly in Jasper Reports or ireport

2 answers

0

It does not have to be with Beans, Jasper accepts several forms of connection, including via SQL directly in the report or by dynamic parameters if you need a Dynamic query

0


There are two forms of popular a report in Jasperserver:

1) You can create the query in Jasper itself, and you won’t need any JAVA entities.
Jasperserver provides the ability to create dynamic querys by passing parameters via Java to Jasper if needed.

2) Create a DTO and popular it with the necessary data and pass it on to Jasper.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.