Test context framework: @Transactional does not flush the Hibernate session before rollback [SPR-5315] #9988
Referenced from: commits ee1938e
The text was updated successfully, but these errors were encountered:
Juergen Hoeller commented
As of Spring 3.0 M2, our TransactionalTestExecutionListener automatically flushes transactions before rolling back. It does so through the new "flush()" method on the TransactionStatus interface, which is also available to application code now.