- 博客(4)
- 资源 (18)
- 收藏
- 关注
原创 Hibernate异常:query specified join fetching, but the owner of the fetched association was not present in the select list
org.hibernate.QueryException: query specified join fetching, but the owner of the fetched association was not present in the select list报这个异常是因为查询时返回的对象不包含有该join fetch后面的对象,因此可以将fetch删除就可以啦。这里的fetch就是将fetch后面的对象setter到查询返回的对象中。因此当不存在包含时,就会该报错!//这里Student和T
2010-08-23 17:08:00
10072
原创 HQL 中 fetch 作用
public class Parent{ private int id; private String name; private List children=new ArrayList(); //....setter && getter } public class Child{ private int id; private String name; //....setter && getter } fetch设置为lazy,查询Parent对象的时候,默
2010-08-09 16:08:00
1787
转载 jQuery1.4发布: 你必须知道的15个新特性
http://www.haojii.com/2010/01/jquery-1-4-released-the-15-new-features-you-must-know/
2010-07-15 12:55:00
563
原创 Myeclipse6.0 properties文件编辑工具
安装 PropertiesEditor 插件: help --> software updates --> find and install --> search for new features to install --> next --> new remote site name: PropertiesEditor url: http://propedit.sourceforge.jp/eclipse/updates/
2010-07-09 10:01:00
1115
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人