org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

coderanch.com | 6 months ago
  1. 0

    Trouble converting a Spring JDBC app to use Spring Hibernate (Spring forum at Coderanch)

    coderanch.com | 6 months ago
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  2. 0

    Trouble converting a Spring JDBC app to use Spring Hibernate

    Coderanch | 4 years ago | Ray Clark
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  3. 0

    Trouble converting a Spring JDBC app to use Spring Hibernate

    Coderanch | 4 years ago | Ray Clark
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.hibernate.HibernateException: No Hibernate Session bound to thread

    Stack Overflow | 3 years ago | user2879206
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  6. 0

    Spring MVC - No Hibernate Session bound to thread

    Stack Overflow | 3 years ago | user2784083
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

  1. mortalman7 3 times, last 6 months ago
4 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 Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

    at org.springframework.orm.hibernate3.SpringSessionContext.currentSession()
  2. Hibernate
    SpringSessionContext.currentSession
    1. org.springframework.orm.hibernate3.SpringSessionContext.currentSession(SpringSessionContext.java:63)
    1 frame
  3. Hibernate
    SessionFactoryImpl.getCurrentSession
    1. org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:687)
    1 frame
  4. com.home.dvdtracker
    DvdHibernate.getDvdList
    1. com.home.dvdtracker.hibernate.DvdHibernate.getDvdList(DvdHibernate.java:27)
    1 frame