hibernate
文章平均质量分 62
javafc
这个作者很懒,什么都没留下…
展开
-
解释一个关于Hibernate lazy的问题
使用Hibernate时意外报错: Exception in thread "main" org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed at org.hibernate.proxy.AbstractLaz原创 2009-11-16 11:36:00 · 380 阅读 · 0 评论 -
启动ssh项目出错java.lang.NoClassDefFoundError: org/dom4j/DocumentException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name sessionFactory defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean fai原创 2009-11-16 11:37:00 · 1717 阅读 · 1 评论 -
关于org.hibernate.ObjectNotFoundException: No row with the given identifier exists 的快捷解决问题
最近时刻系统出现这样的问题,在网上google了一下,结果是因为数据问题。console错误打印:严重: Servlet.service() for servlet default threw exceptionorg.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.iss.fit.转载 2009-11-16 11:38:00 · 8499 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource的解决方法
用Myeclipse开发struts时,配置struts-config中的data-sources,出现java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource的解决方法struts-config.xml文件中的data-sources是这样配置的 data-sources>原创 2009-11-16 11:52:00 · 10452 阅读 · 0 评论