hibernate 4的版本不可以适用hibernateDaoSupport,具体修改方法请看https://www.cnblogs.com/lihuiyy/archive/2013/03/21/2972641.html
2018-03-07
已采纳回答 / qq_浮尘旧梦微凉_0
你看一下你的数据连接池那里Could not resolve placeholder 'jdbc.driverClass' in string value "${jdbc.driverClass}"
2018-03-07
最新回答 / qq_絵空事_1
sessionFactory的bean创建错误,无法解析映射文档。看看是不是class里面的内容写错了?<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
2018-03-04
List<Employee> list = this.getHibernateTemplate().find(hql, employee.getUsername(),employee.getPassword());
这样写find会报错,这里可以改为:
List<Employee> list = (List<Employee>) this.getHibernateTemplate().find(hql,new String[] {employee.getUsername(),employee.getPassword()});
这样写find会报错,这里可以改为:
List<Employee> list = (List<Employee>) this.getHibernateTemplate().find(hql,new String[] {employee.getUsername(),employee.getPassword()});
2018-02-24
https://github.com/leonardowind/ssh_employee
windows10下,使用IDEA、MySQL开发
windows10下,使用IDEA、MySQL开发
2018-02-20