![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH
文章平均质量分 77
dongruan00
这个作者很懒,什么都没留下…
展开
-
SSH下Mysql中文乱码问题
1.在hibernate.cfg.xml配置文件中修改如下环境:Hibernate 3.2 + MySQL5.0(MySQL的编码已设置为utf8)问题:通过Hibernate向MySQL写入中文后,通过Hibernate取回数据,在console中打印java对象显示正常。但在MySQL Query Browser中看到的是乱码。原因:Hibernate的基础还是JDBC,所以一样需要设...原创 2013-03-03 21:52:53 · 121 阅读 · 0 评论 -
spring 整合hibernate报错'sessionFactory' or 'hibernateTemplate' is required异常
Caused by: java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required at org.springframework.orm.hibernate3.support.HibernateDaoSupport.checkDaoConfig(HibernateDaoSuppor...原创 2013-01-17 14:40:11 · 281 阅读 · 0 评论