![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
过了爱做梦的年纪s
归零
展开
-
spring配置出错at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:244
1.SSM集成:spring 4.0.5hibernate 4.3.1;sessionFactory 注入datasource xx.xx.model org.hibernate.dialect.Oracle9Dialect true 2.出原创 2016-05-19 23:40:41 · 4219 阅读 · 0 评论 -
SM整合出错:ClassCastException: tk.licer.model.Role_$$_javassist_0 cannot be cast to javassist.util.proxy
1.问题spring整合hibernate做web开发时,web.xml中配置openSessionInView,使用hibernateTemplate调用load方法实现延迟加载(lazy_load).openSessionInView定义 openSessionInView org.springframework.orm.hibernate4.support.原创 2016-05-23 16:01:00 · 1573 阅读 · 0 评论 -
Mysql 设置超时重连 autoReconnect=true
1需求昨天在vps测试机上部署了web Demo(SH+mysql)程序,今天访问发现挂了.吓得我赶快把log down下来压压惊.org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested excep原创 2016-06-05 13:23:47 · 25604 阅读 · 5 评论