SessionFactoryImpl.getCurrentSession() has thrown a HibernateException

org.hibernate.HibernateException
Javadoc
The base exception type for Hibernate exceptions.

Note that all {@link java.sql.SQLException SQLExceptions} will be wrapped in some form of {@link JDBCException}. @author Gavin King
at org.codehaus.groovy.grails.orm.hibernate.GrailsSessionContext.currentSession
at org.hibernate.internal.SessionFactoryImpl.getCurrentSession
(source)

Typical Exception Messages

  1. Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
  2. <No message>
  3. org.springframework.dao.DataAccessResourceFailureException: Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread

Specific cases

External results for this pattern (3)

  1. schastvia GitHub4 months ago
    org.springframework.dao.DataAccessResourceFailureException: Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
    Show stack trace
  2. bobbywarnervia GitHub2 years ago
    Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
    Show stack trace
  3. monimanvia GitHub2 years ago
    No message found for this stack trace.
    Show stack trace