mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Test and fix for BUG 420.
This commit is contained in:
@@ -508,7 +508,9 @@ public final class DefaultPersister implements Persister {
|
||||
} else {
|
||||
// we need to fetch the Id's to delete (recurse or notify L2 cache/lucene)
|
||||
List<Object> childIds = manys[i].findIdsByParentId(id, idList, t, null);
|
||||
delete(targetDesc, null, childIds, t);
|
||||
if (!childIds.isEmpty()) {
|
||||
delete(targetDesc, null, childIds, t);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user