![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH
lizhengnanhua
这个作者很懒,什么都没留下…
展开
-
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before
错误描述:在用java注解方式中编写的项目程序,在调试时出现如下错误:org.hibernate.id.IdentifierGenerationException:ids for this class must be manually assigned before calling save():解决方法:错误提示是说,id的生成错误,在保存之前,需先生成。找到model层, @I原创 2013-03-31 01:23:17 · 45890 阅读 · 8 评论 -
严重: Exception starting filter struts Action class [com.util.upload] not found - action - file:/C:/Pr
问题描述:继续做原先的项目,做了一个测试工程,SSH框架,用注解方式,在Action中,报错如下.严重: Exception starting filter struts Action class [com.util.upload] not found - action - file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat原创 2013-04-12 11:21:55 · 2314 阅读 · 0 评论 -
dwr调用报Session Error错误
错误描述:项目中所有用到dwr的地方,都显示“Session Error”错误解决方法:在web.xml中添加 crossDomainSessionSecurity false 于是,完整的dwr配置如下: dwr-invoker org.directwebremoting.servlet.DwrServlet原创 2013-04-14 18:39:31 · 2035 阅读 · 0 评论 -
Hibernate的hql常用语句整理汇总
//普通查询 hql = "from User";//条件查询 where hql = "from User where UserName='张三’";模糊查询 like hql = "from User where UserName like '%羽%'";// 逻辑条件查询 >hql = "from User c where c.createDate >'201原创 2013-04-19 17:11:26 · 1504 阅读 · 0 评论