ibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch() method calls statement.close() twice. I know this bug has been patched for Hibernate 4.3 in https://hibernate.atlassian.net/browse/HHH-8853 . But this affects Hibernate 4.2.x which is the last JPA 2.0 supporting version.
|