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

The cleanupTestData utility has issues with link tables

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.2, 5.1.5
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      Because of HHH-5529, the current cleanupTestData utility does not work when the entity in question have any associations that use link tables (e.g. @ElementCollection, unidirectional @OneToMany, etc).

      However, when removing each element using the Session, the link tables are cleared properly.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: