Gustav Elmgren
12/02/2022, 1:56 PMJohannes Gätjen
12/02/2022, 2:18 PMJohannes Gätjen
12/02/2022, 2:18 PMGustav Elmgren
12/02/2022, 2:19 PMJohannes Gätjen
12/02/2022, 2:21 PMEmil Kantis
12/02/2022, 2:29 PMGustav Elmgren
12/02/2022, 2:44 PMEmil Kantis
12/02/2022, 3:08 PMGustav Elmgren
12/02/2022, 3:37 PMStudentDAO with some predefined ClassDAO with is a 1-* relation.
So I have a method in a repository:
fun createStudent(name: String, classes: List<ClassModel>) {
//I can't pass in `ClassesDAO` here, given I never return that type from the repository.
So I have to use the `ClassDAO` in the `StudentRepository`
val classesDao = ClassDao.findAll(....)Gustav Elmgren
12/02/2022, 4:01 PMClass entities should only be via the ClassRepository . But I don't wanna use the ClassRepository in my StudentRepositoryGustav Elmgren
12/02/2022, 4:02 PMEndre Deak
12/02/2022, 4:28 PMrowResult --> stupidDao mapping logic manuallyGustav Elmgren
12/02/2022, 4:33 PMGustav Elmgren
12/02/2022, 4:40 PMEmil Kantis
12/02/2022, 5:45 PMGustav Elmgren
12/02/2022, 5:57 PMdave08
12/05/2022, 10:37 AMdave08
12/05/2022, 10:37 AMGustav Elmgren
12/05/2022, 10:44 AMdave08
12/05/2022, 10:46 AMdave08
12/05/2022, 10:47 AMGustav Elmgren
12/05/2022, 12:00 PMdave08
12/05/2022, 12:13 PMGustav Elmgren
12/05/2022, 12:41 PM