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

Session-level configurable batch size support

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Based on this mailing list discussion, it would be useful to configure the batch size on a Session level so that the batch size is configurable per business use case.

      So, probably the Session could define setBatchSize(int batchSize) and getBatchSize() methods, which will overwrite the default global batch size given by the hibernate.jdbc.batch_size configuration property.

        Attachments

          Activity

            People

            • Assignee:
              mih_vlad Vlad Mihalcea
              Reporter:
              mih_vlad Vlad Mihalcea
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: