Uploaded image for project: 'Hibernate ORM'
  1. HHH-9413

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.15
    • Fix Version/s: 4.2.19
    • Component/s: hibernate-core
    • Labels:
      None
    • Environment:
      with Spring 3.2.8
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      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.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: