use of org.seasar.doma.it.domain.Identity in project doma by domaframework.
the class SqlFileSelectCollectorTest method testCollectAll2.
@Test
public void testCollectAll2(Config config) throws Exception {
EmployeeDao dao = new EmployeeDaoImpl(config);
Map<Identity<Department>, List<Employee>> group = dao.collectAll(Collectors.groupingBy(Employee::getDepartmentId));
System.out.println(group);
}
Aggregations