score:0

i think that report is empty beacause of: new jremptydatasource()

you can inject datasource and try something like this:

try (connection connection = datasource.getconnection()){
      jasperprint jasperprint = jasperfillmanager.fillreport(jasperreport, prepareparameters(command), connection);
    }

Related Query

More Query from same tag