Posts by hjunior96 • 11 points
1 post
-
1
votes1
answer114
viewsQ: I have a Java class where one of the attributes is an Arraylist of another object. How to bring this from the database?
I have a java object that looks like this: public class Objeto1 { private int id; private int nome; private ArrayList<Objeto2> lista; //construtor e Getters e Setters } How do I get this list…