1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| DEBUG [main] - ==> Preparing: select * from department DEBUG [main] - ==> Parameters: DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 1(Integer) DEBUG [main] - <==== Total: 2 DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 2(Integer) DEBUG [main] - <==== Total: 2 DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 3(Integer) DEBUG [main] - <==== Total: 2 DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 4(Integer) DEBUG [main] - <==== Total: 2 DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 5(Integer) DEBUG [main] - <==== Total: 2 DEBUG [main] - ====> Preparing: select * from employee where department_id = ? DEBUG [main] - ====> Parameters: 6(Integer) DEBUG [main] - <==== Total: 0 DEBUG [main] - <== Total: 6 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, department=null], 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=null]]] 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, department=null], 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=null]]] 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, department=null], 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=null]]] 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, department=null], 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=null]]] Department [department_id=5, department_name=Marketing Department, location=12 floor, employees=[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=null], 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, department=null]]] Department [department_id=6, department_name=personnel department, location=15 floor, employees=[]]
|