示例#1
0
 private Session currentSession() {
   return sessionFactory.getCurrentSession();
 }
 @Override
 public Session getSession() {
   return sessionFactory.getCurrentSession();
 }