Spring boot Jasper Report : Java bean as data source

I have Java class :

public class TrainingExerciseDTO{

private Integer id;

private Integer trainingId;

private String color;

private Integer trainingOrder;

private Boolean superset = false;

private Integer exerciseId;

private ExerciseDTO exercise;

private Integer setCount;

private List reps;

I need array of this class to serve me as a datasource in Jasper Report. My project is written using spring boot. So for every row i would need to list exercise and it's fields ( one of them is array of image urls), and also reps objects. One row of my report should look like this :

Every data on this picture is...

Read More »

By: StackOverFlow - Thursday, 8 November

Related Posts