已采纳回答 / Arong灬苍澜
Caused by: java.lang.NumberFormatException: For input string: "20 ",这个20后面多了个空格
2017-05-17
已采纳回答 / 南瓜头先生
public Employee findByUsernameAndPassword(Employee employee) { Session session = this.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); String hql2 = "from Employee e where e.username= '"+employee.getUsername()+"' an...
2017-05-11