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

The follow-on-locking Oracle mechanism should consider UNION as well

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.2.1
    • Components: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      The Oracle Dialect inspects the currently executing query and decides whether to apply follow-on-locking. The current logic looks for DISTINCT, GROUP BY, ORDER BY, and some pagination patterns.

      We need to accommodate set operators as well, especially UNION which is used for TABLE_PER_CLASS inheritance.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: