getCurrentSession()与openSession的区别 getCurrentSession()得到的session不用close();openSession得到的Session必须close();