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

The JDBC batch sorting algorithm can be simplified due to latest modifications

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 5.2.12
    • Fix versions: 5.2.13, 5.1.13
    • Components: hibernate-core
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      The JDBC batch sorting algorithm has undergone many modifications to address various entity-relationship models.

      Initially, the sorting was done in a single main traversal with previous/next checks. Because this was problematic, we changed to a bubble sort-like implementation which makes it useless to check the previous entries.

      Therefore, we should simplify to only check the next statement and rearrange it if it's a parent entity that needs to be persisted first.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: