Missing tests for @SoftDelete
#1890
Labels
enhancement
New feature or request
good first issue
Good for newcomers
testing
Improvements to test suite
We have created a test for the support of
@SoftDelete
: SoftDeleteTestThe problem is that we only test entities that are mapped on a single table in the database. And, we don't test the use of
@SoftDelete
on associations.We need additional tests with entities mapped using the different inheritance types.
As a guideline for first timers, to solve this issue one has to:
@Inheritance(strategy = InheritanceType.JOINED)
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@SoftDelete
applied to a collection (might be a separate test class or a test method added to the previous one)YesNoConverter
)I've collected everything in a single issue, but we could split this task in several issues when required.
The text was updated successfully, but these errors were encountered: