随笔分类 -  Java开发

Hibernate 查询返回结果集为对象数组后的取值方法
摘要:示例:String hql = “select cat.name, cat.age from Cat cat”; List list = getHibernateTemplate().find(hql); if(list != null && list.size() > 0) { for(int ... 阅读全文
posted @ 2006-04-19 11:06 Longerc62 阅读(2382) 评论(0) 推荐(0)