org.hibernate.HibernateException: No Session found for current thread

Spring JIRA | Holger Stenzhorn | 3 years ago
  1. 0

    Manage Hibernate transactions with Spring @Transactional

    Stack Overflow | 3 years ago | hadf
    org.hibernate.HibernateException: No Session found for current thread
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate 4 data not get saved

    Stack Overflow | 3 years ago | commit
    org.hibernate.HibernateException: No Session found for current thread

    21 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      No Session found for current thread

      at org.springframework.orm.hibernate4.SpringSessionContext.currentSession()
    2. Spring ORM
      SpringSessionContext.currentSession
      1. org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:97)
      1 frame
    3. Hibernate
      SessionFactoryImpl.getCurrentSession
      1. org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:992)
      1 frame