Hello people, I am new to hibernate and its ORM function.
Here is my problem:
I have Users and Groups; 1 User belongs to multiple Groups, and 1 Group can contain multiple users.
I have read many articles and forum threads regarding this issue (e.g.
http://www.hiberbook.com/HiberBookWeb/learn.jsp?tutorial=19mappingmanytomanyrelationships).
However, I would like to know if I am able to retrieve a list of the join_table, and use it to display the contents (e.g. ID_USER and ID_GROUPS). Even though, the UserGroup model class doesn't exist.
I have read in some tutorials that a "join table" isn't required if there is no additional columns. However, without a "join table" model class. Is it possible to create and retrieve a List<Join_table> to display its contents?