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 Iuliana Cosmina
, 1 year ago
Could not obtain transaction-synchronized Session for current thread
via Stack Overflow by Shruti
, 3 months ago
Could not obtain transaction-synchronized Session for current thread
via codegur.com by Unknown author, 6 months ago
via Stack Overflow by xcesco
, 1 year ago
Could not obtain transaction-synchronized Session for current thread
via Stack Overflow by poojadave
, 6 months ago
Could not obtain transaction-synchronized Session for current thread
via Stack Overflow by SergiiB
, 1 year 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.hibernate5.SpringSessionContext.currentSession(SpringSessionContext.java:133)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 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

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