The cleanupTestData utility has issues with link tables

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.

Activity

Show:

Former userMarch 15, 2017 at 12:21 AM

Fixed in 5.1 branch as well.

Vlad MihalceaJuly 27, 2016 at 1:14 PM

Fixed and tested.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created July 27, 2016 at 12:47 PM
Updated March 15, 2017 at 12:34 AM
Resolved March 15, 2017 at 12:21 AM

Flag notifications