Announcement Announcement Module
Collapse
No announcement yet.
@Transactional with Flush didnīt Rollback Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @Transactional with Flush didnīt Rollback

    I have a method that updates a row in a table.
    After the update I call the flush hibernate operation .

    I annotated this method with @Transactional, but after the test method the table continue locked, why?

    I thought that after a test of a Transactional method, rollback all the changes and release the lock of table.
Working...
X