DEBUG [main]-==> Preparing: select * from user where username=?
DEBUG [main]-==> Parameters: 张三丰(String)
DEBUG [main]-<== Total:0
null
DEBUG [main]- Resetting autocommit to true on JDBC Connection [com.mysql.jdbc.JDBC4Connection@457e2f02]
DEBUG [main]- Closing JDBC Connection [com.mysql.jdbc.JDBC4Connection@457e2f02]
DEBUG [main]- Returned connection 1165897474 to pool.
User u3=(User)session.selectOne("model.User.findUserByName","张三丰");// User u3=(User)session.selectOne("model.User.findUserByName", "jack");