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

Discrimator values in versioned entities in one to many relations could cause problems when deleting relation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1, 5.1.0, 5.0.10, 5.2.1
    • Fix Version/s: 5.2.2
    • Component/s: hibernate-envers
    • Labels:
      None
    • Environment:
      Hibernate-Envers Version 4.1.1, Oracle 11g / Test-DB
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      As discussed here: https://community.jboss.org/thread/1695?start=15&tstart=0 deleting a
      reference between two classes using discrimator values in a one to many relation could result in an incorrect entity version on "one-side" that uses discriminator value of parent class.

      Steps to reproduce: See attachhed testcase.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: