21:17:40,824 INFO [stdout] (default task-1) Executing
21:17:40,827 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (default task-1) HHH000010: On release of batch it still contained JDBC statements
21:17:40,827 ERROR [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (default task-1) HHH000352: Unable to release batch statement...
If you cannot replicate it with our test case, it’s an integration issue.
Since you mentioned Wildfly, this issue is best addressed by the Wildfly team since it could be related to how the Session or the Transaction are handled.