mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#216 - ENH: Add Model.Finder deleteById(id) method
This commit is contained in:
1 parent
09f8967459
commit
dd30b43d59
3 files changed
+38
-5
No files matched your search
@@ -455,7 +455,11 @@ public final class DefaultPersister implements Persister {
|
||||
// delete the bean(s)
|
||||
SqlUpdate deleteById = descriptor.deleteById(id, idList);
|
||||
if (t.isLogSummary()) {
|
||||
t.logSummary("-- Deleting " + descriptor.getName() + " Ids" + idList);
|
||||
if (idList != null) {
|
||||
t.logSummary("-- Deleting " + descriptor.getName() + " Ids: " + idList);
|
||||
} else {
|
||||
t.logSummary("-- Deleting " + descriptor.getName() + " Id: " + id);
|
||||
}
|
||||
}
|
||||
|
||||
// use Id's to update L2 cache rather than Bulk table event
|
||||
|
||||
Reference in new issue
Block a user