find方法報錯的同學(xué)這樣寫就沒問題了:
List<Employee> list = this.getHibernateTemplate().find(hql, new String[]{employee.getUsername(),employee.getPassword()});
為什么這樣寫請百度 find 方法。
List<Employee> list = this.getHibernateTemplate().find(hql, new String[]{employee.getUsername(),employee.getPassword()});
為什么這樣寫請百度 find 方法。
2017-02-15
他給的頁面不對啊,整天就是這么一個錯誤 The requested resource (/ssh_employee/frame.jsp) is not available.
2017-02-13
如果修改頁面不寫修改賬號和密碼或者其它屬性,用update模板修改就不行了,模板必須要填寫所有的數(shù)據(jù)庫屬性,不然就默認屬性值為空,還要自己寫修改的hql語句啊