On release of batch it still contained JDBC statements

@vlad unfortunately I haven’t been able to get it to trigger with simple test case. ( https://github.com/codylerum/hibernate-test-case-templates/blob/batch_statements/orm/hibernate-orm-5/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java )

I’m going to try with a simple EE8 project. If I can get it to there maybe someone can help me reverse it back into a hiberate test.