How to group by projections with Hibernate
问题 I need to find a list of students that are in a specific group and located in a specific address along with their phone numbers in their location. My main issue is I can not retrieve phone numbers of each student as a collection. For example if I have student1,student2. Phone 1111 for student1 in location1 and phone 2222 and phone 3333 for student2 in location 1 and phone 444 for student2 in location2. Lets say I have Student1 Alex group1 1111 Location1 Street1 Student3 Jack group1 93939