SessionFactoryUtils.getSession yöntemine Spring 3.1.0'daki Hazırda Bekletme 4'ten ne oldu? Bunun yerine ne kullanılmalı?Spring: Neden Hibernate 4'teki SessionFactoryUtils sınıfı getSession yöntemini sağlamıyor?
org.hibernate.HibernateException: No Session found for current thread
at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:97)
at org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:883)
Herhangi ipucu: sessionFactory.getCurrentSession() bana bu istisna veren tutar?
Aynı sorunla karşı karşıyayım, bunun yerine sessionFactory.getCurrentSession() yöntemini kullanıyorum, ancak gitmenin doğru yolu olup olmadığından emin değilim. Marten sonrası – craftsman