1 2 3 4 5 6 7 8 9
| DEBUG [main] - ==> Preparing: select * from department d left join employee e on d.department_id = e.department_id DEBUG [main] - ==> Parameters: DEBUG [main] - <== Total: 11 Department [department_id=1, department_name=Retail Department, location=5 floor, employees=[Employee [employee_id=6, employee_name=staff6, employee_gender=F, age=36, hire_date=Mon Sep 06 00:00:00 CST 2021, department_id=1], Employee [employee_id=1, employee_name=staff1, employee_gender=M, age=31, hire_date=Wed Sep 01 00:00:00 CST 2021, department_id=1]]] Department [department_id=2, department_name=Operations Management Department, location=6 floor, employees=[Employee [employee_id=7, employee_name=staff7, employee_gender=M, age=37, hire_date=Tue Sep 07 00:00:00 CST 2021, department_id=2], Employee [employee_id=2, employee_name=staff2, employee_gender=F, age=32, hire_date=Thu Sep 02 00:00:00 CST 2021, department_id=2]]] Department [department_id=3, department_name=Information technology department, location=9 floor, employees=[Employee [employee_id=8, employee_name=staff8, employee_gender=F, age=38, hire_date=Wed Sep 08 00:00:00 CST 2021, department_id=3], Employee [employee_id=3, employee_name=staff3, employee_gender=M, age=33, hire_date=Fri Sep 03 00:00:00 CST 2021, department_id=3]]] Department [department_id=4, department_name=accounting department, location=10 floor, employees=[Employee [employee_id=9, employee_name=staff9, employee_gender=M, age=39, hire_date=Thu Sep 09 00:00:00 CST 2021, department_id=4], Employee [employee_id=4, employee_name=staff4, employee_gender=F, age=34, hire_date=Sat Sep 04 00:00:00 CST 2021, department_id=4]]] Department [department_id=5, department_name=Marketing Department, location=12 floor, employees=[Employee [employee_id=10, employee_name=staff10, employee_gender=F, age=40, hire_date=Fri Sep 10 00:00:00 CST 2021, department_id=5], Employee [employee_id=5, employee_name=staff5, employee_gender=M, age=35, hire_date=Sun Sep 05 00:00:00 CST 2021, department_id=5]]] Department [department_id=6, department_name=personnel department, location=15 floor, employees=[Employee [employee_id=null, employee_name=null, employee_gender=null, age=null, hire_date=null, department_id=6]]]
|