This question is locked. New answers and comments are not allowed.
How can I get a single table via forward mapping, where I have a relation many-to-many between 3 object from classes that I have created.
For example to have a table with Schools and Students, I can have a list of students in class School.
But what if I want to have a table that maps the for example the city of the school, the school and the students?
Imagine that all those are complex classes created by me.
I want a table that the rows shoul have a a a student, the school he belongs, and the city from school.
I repeat, being this complex classes and not strings or atributes from a class.
Basically I want a table that maps me the relation of 3 distinct classes.
How that is done via forward mapping and object classes?
Thanks
For example to have a table with Schools and Students, I can have a list of students in class School.
But what if I want to have a table that maps the for example the city of the school, the school and the students?
Imagine that all those are complex classes created by me.
I want a table that the rows shoul have a a a student, the school he belongs, and the city from school.
I repeat, being this complex classes and not strings or atributes from a class.
Basically I want a table that maps me the relation of 3 distinct classes.
How that is done via forward mapping and object classes?
Thanks