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


Solutions on the web

Solution icon of web
Could not obtain transaction-synchronized Session for current thread

Solution icon of web
Could not obtain transaction-synchronized Session for current thread

Solution icon of web
via waylau.com by Unknown author, 1 year ago
Could not obtain transaction-synchronized Session for current thread

Solution icon of stackoverflow
Could not obtain transaction-synchronized Session for current thread

Solution icon of web
via mobilarena.hu by Unknown author, 1 year ago
Could not obtain transaction-synchronized Session for current thread

Solution icon of web
via waylau.com by Unknown author, 1 year ago
Could not obtain transaction-synchronized Session for current thread

Solution icon of stackoverflow
Could not obtain transaction-synchronized Session for current thread

Solution icon of stackoverflow
No Session found for current thread

Solution icon of stackoverflow
No Session found for current thread

Stack trace

org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread
	at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:134)
	at org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:988)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 3 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
17 more bugmates