Good evening everyone! To create reports with Jasper, do I need to have classes with models? Since I already have a populated bank and I just want the reports, creating filters and tals ...
Good evening everyone! To create reports with Jasper, do I need to have classes with models? Since I already have a populated bank and I just want the reports, creating filters and tals ...
There are two ways to populate a report in JasperServer:
1) You can create the query in Jasper itself, and you will not need any JAVA entity. JasperServer provides the ability to create dynamic queries by passing parameters via Java to Jasper if needed.
2) Create a DTO and popular it with the necessary data and pass it to Jasper.
No need to be with beans, jasper accepts multiple forms of connection, including via SQL directly in the report or by dynamic parameters in case you need a Dynamic query