#1174 - ENH: Support mapping @TenantId to an entity bean via @ManyToOne

This commit is contained in:
Rob Bygrave committed 2018-02-21 09:44:37 +13:00
1 parent 0b1c3a4233
commit eaa48468cd
9 files changed
+67 -10

No files matched your search

@@ -1138,7 +1138,7 @@ public final class DefaultPersister implements Persister {
// convert into a list of reference objects and perform delete by object
List<Object> refList = new ArrayList<>(childIds.size());
for (Object id : childIds) {
refList.add(targetDesc.createReference(null, false, id, null));
refList.add(targetDesc.createReference(id, null));
}
deleteList(refList, t, softDelete);