用sessionFactory.getCurrentSession();方法会抛出No Session found for current thread异常
有没有大神解决一下啊,百度的方法都不靠谱,如果我把get方法改为openSession项目就可以运行。
只有这么点币了 只解救
用sessionFactory.getCurrentSession();方法会抛出No Session found for current thread异常
有没有大神解决一下啊,百度的方法都不靠谱,如果我把get方法改为openSession项目就可以运行。
只有这么点币了 只解救