Query q = s.createQuery("QueryString");
List list=q.list();
Iterator ite=list.iterator();
while(ite.hasNext()){
映射的类 xxxxx=(映射的类)ite.next();
/****用类里的get方法取值****/
}
-----------------------------------
随手写来,具体操作自己写写看哈!
List list=q.list();
Iterator ite=list.iterator();
while(ite.hasNext()){
映射的类 xxxxx=(映射的类)ite.next();
/****用类里的get方法取值****/
}
-----------------------------------
随手写来,具体操作自己写写看哈!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货