Jsf+hibernate+spring
wgj85
这个作者很懒,什么都没留下…
展开
-
hibernate查询问题
我用findByExample方法时传的实体中包含一个id属性的值,但是生成的sql里边却不包含这个属性。就像传了一个空的实体一样。本来应该查到一个结果的,现在却是把所有的记录到查了出来。但是我用其他属性时都没有问题。看hibernate文档如下: The class org.hibernate.criterion.Example allows you to construct a que原创 2008-09-03 18:06:00 · 427 阅读 · 0 评论 -
Jsf + Spring + Hibernate项目中引用的包(转)
Jsf + Spring + Hibernate项目中引用的包 posted @ 2008-09-07 10:19 think8848 阅读(9) | 评论 (0) | 编辑[原]MyEclipse 7 添加 MyFaces 1.2.4应用 在创建Web Project时,需要选择J2EE Specification Level,如果选择了J2EE 1.4还好,能使用MyFace转载 2008-09-11 21:57:00 · 906 阅读 · 0 评论 -
hibernate效率问题
下面一段《JSF第一步》书中的代码: public void departmentChanged(ValueChangeEvent event) { //取得faces上下文 FacesContext facesContext= FacesContext.getCurrentInstance(); try{ //获得选取的部门原创 2008-09-30 14:41:00 · 826 阅读 · 0 评论