2
Let’s say I have the following Pojos
public class Pedidos{
private Strig codigo;
private String nomePedido;
private List<Dados> dadosPedido;
//getters e setters}
}
And
public class Dados {
private String nome;
private int codigo;
}
I know I could use a Beanpropertyrowmapper to popular a list of Requests objects, now there is some form of also popular the Data object through the same query? After that I would need to assemble an XML where each Request would have its corresponding Data list, I found a similar question: https://stackoverflow.com/questions/16718163/jdbctemplate-set-nested-pojo-with-beanpropertyrowmapper
But in my case I also have a Users List.