FWIW - we're using Hibernate 5.4.2 + Spring 5.1.7 and seeing the same message (no Wildfly involved).
2019-06-02 08:29:13,910 INFO [pool-3-thread-4] [] [AbstractBatchImpl]: HHH000010: On release of batch it still contained JDBC statements