ssh查询刷新45次后会卡死,不能直接关流不然会报错代码如下
public List<Books> chekc() {
// TODO Auto-generated method stub
Session openSession = session.openSession();
Transaction beginTransaction = openSession.beginTransaction();
Query createQuery = openSession.createQuery("from Books");
List<Books> list = createQuery.list();
beginTransaction.commit();
return list;
}
public List<Books> chekc() {
// TODO Auto-generated method stub
Session openSession = session.openSession();
Transaction beginTransaction = openSession.beginTransaction();
Query createQuery = openSession.createQuery("from Books");
List<Books> list = createQuery.list();
beginTransaction.commit();
return list;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货