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

OrderColumn doesn't actually work, index is always 0 across transactions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4, 4.2.11
    • Component/s: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      Following the discussion and fix of HHH-8083 Closed , I never got OrderColumn to work but other priorities forced me to abandon this, but I spent some time on it now and found that the OrderColumn fix doesn't actually work. While the original testcase passes, if you add multiple items to the collection across flushes, newly added item will all be added with index 0. Any collection retrieval will then just contain the one item.

      I've modified the original test case to prove this

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: