Test case has been pushed to 4.x branch as well: https://github.com/hibernate/hibernate-orm/blob/4.2/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/TransactionRollbackBehaviour.java. I was able to reproduce the issue by performing manual flush. Issue will be fixed shortly.
Test case has been pushed to 4.x branch as well: https://github.com/hibernate/hibernate-orm/blob/4.2/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/TransactionRollbackBehaviour.java.
I was able to reproduce the issue by performing manual flush. Issue will be fixed shortly.