This content has been marked as final. Show 2 replies
The JUnit testcase session will be rollback by fw though you have a line to commit the changes.
But you can verify the data change by writing piece of code to retrieve the changed values after completing you certain db operation.
At the end of the test method do SessionHolder.getSession().commit()