mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1174 - ENH: Support mapping @TenantId to an entity bean via @ManyToOne
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user