I make the DAO layer, there are classes Student, Teacher, Audience, Group and Lecture. The Group class contains a sheet of Student objects, and the Lecture class contains all of these classes, and the group contains a List field.
public class Lecture { private String lectureName; private Audience audience; private Teacher teacher; private List<Group> groups; private Date date; } If in the DAO layer the processing of the classes Teacher, Student, Audience did without problems, then how to make the DAO class for Lecture, how to handle the group field? PS in the Lecture class can contain one or several groups.