org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by jaind12
, 1 year ago
Could not obtain transaction-synchronized Session for current thread
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by besmart
, 2 years ago
via Stack Overflow by gstackoverflow
, 2 years ago
via mobilarena.hu by Unknown author, 2 years ago
Could not obtain transaction-synchronized Session for current thread
via waylau.com by Unknown author, 2 years ago
Could not obtain transaction-synchronized Session for current thread
org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread
at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:325)
at org.springframework.orm.hibernate4.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:308)
at org.springframework.orm.hibernate4.HibernateTemplate.findByCriteria(HibernateTemplate.java:1011)

Users with the same issue

2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.