We're updating the issue view to help you get more done. 

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.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.2.1

Priority

Major