Hello!
I have
test method within spring test class:
Method save is not flushing new instance into database. Therefore if I go to database I have nothing persisted.
I tried to begin transaction before save method and commit it after. I tried to open new session and create new transaction ...
Anyway I receive error: org.hibernate.HibernateException: No Session found for current
thread
This spring test method is not running within transaction.
How to tell hibernate to flush all data to database after calling method save?
Thank you!