mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#627 - Rename Query.includeSoftDeletes() to Query.setIncludeSoftDeletes()
This commit is contained in:
1 parent
df95f4759b
commit
de6ba31996
9 files changed
+36
-9
No files matched your search
@@ -729,7 +729,7 @@ public final class DefaultPersister implements Persister {
|
||||
q.select(sb.toString());
|
||||
if (!softDelete) {
|
||||
// hard delete so we want this query to include logically deleted rows (if any)
|
||||
q.includeSoftDeletes();
|
||||
q.setIncludeSoftDeletes();
|
||||
}
|
||||
return q;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ class DeleteUnloadedForeignKeys {
|
||||
q.setPersistenceContextScope(PersistenceContextScope.QUERY);
|
||||
q.setAutoTune(false);
|
||||
q.select(sb.toString());
|
||||
q.includeSoftDeletes();
|
||||
q.setIncludeSoftDeletes();
|
||||
q.where().idEq(id);
|
||||
|
||||
SpiTransaction t = request.getTransaction();
|
||||
|
||||
Reference in new issue
Block a user