We're updating the issue view to help you get more done. 

Backport HHH-8853 to 4.2: NonBatchingBatch.addToBatch() calls statement.close() twice.

Description

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.

Environment

with Spring 3.2.8

Status

Assignee

Gail Badner

Reporter

KwonNam Son (손권남)

Components

Fix versions

Affects versions

4.2.15

Priority

Major