SessionFactory.getCurrentSession()

It's a must to understand SessionFactory.getCurrentSession() thoroughly.

To get the session associated with the current Spring transaction, you need to employ sessionFactory.getCurrentSession().

TO BE CONTINUED.

你可能感兴趣的:(SessionFactory.getCurrentSession())