object数组里面还有一个object数组怎么取
Stringhql="selectl.areaid,count(l)fromLinklgroupbyl.areaid";Sessions=SessionFactoryUt...
String hql = "select l.areaid,count(l) from Link l group by l.areaid";
Session s = SessionFactoryUtils.getNewSession(getSessionFactory(), getEntityInterceptor());
list = s.createQuery(hql).list();
Object[] object = list.toArray(); 展开
Session s = SessionFactoryUtils.getNewSession(getSessionFactory(), getEntityInterceptor());
list = s.createQuery(hql).list();
Object[] object = list.toArray(); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询