1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| DEBUG [main] ==> Preparing: select * from tb_employee where id=? DEBUG [main] ==> Parameters: 3(Integer) DEBUG [main] <== Total: 1 ------------------------------------------------- 修改之前的员工信息 Employee [id=3, loginname=xiaoli, password=xiaoli, name=小王, sex=男, age=15, phone=123456789123, sal=123.1, state=员工] ------------------------------------------------- DEBUG [main] ==> Preparing: UPDATE tb_employee SET name=?, sex=? WHERE (id=?) DEBUG [main] ==> Parameters: 修改之后的姓名(String), 男(String), 3(Integer) DEBUG [main] <== Updates: 1 ------------------------------------------------- DEBUG [main] ==> Preparing: select * from tb_employee where id=? DEBUG [main] ==> Parameters: 3(Integer) DEBUG [main] <== Total: 1 ------------------------------------------------- Employee [id=3, loginname=xiaoli, password=xiaoli, name=修改之后的姓名, sex=男, age=15, phone=123456789123, sal=123.1, state=员工]
|