这个就是普通的List对像啊Iterator it = q.list().iterator();
while(it.hasNext())
{
Object o = it.next();
//把o转换为相应的类型.假设:Query q = ....("from XXX");
XXX x = (XXX)o;
}
while(it.hasNext())
{
Object o = it.next();
//把o转换为相应的类型.假设:Query q = ....("from XXX");
XXX x = (XXX)o;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货