String hql = "select thedate,thehour,node,query_num from Cdns cdns where thehour = " +"21";
Query query = session.createQuery(hql);
List<Object[]> list = query.list();
for(Object[] object : list){
System.out.println((String)object[0]+","+(String)object[1]+","+(String)object[2]+","+(Long)object[3]);
}

 

 

2015-12-18

相关文章:

  • 2021-10-03
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-03-06
  • 2022-12-23
  • 2022-01-10
  • 2021-05-21
猜你喜欢
  • 2022-01-07
  • 2021-11-27
  • 2021-12-30
  • 2022-12-23
  • 2021-06-29
  • 2021-09-01
  • 2022-01-14
相关资源
相似解决方案