mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-10 08:45:15 +00:00
Refactor plugin.BeanType addInheritanceWhere() to just take Query and not SpiQuery
This commit is contained in:
1 parent
7524903aea
commit
bf3f8ecff5
3 files changed
+5
-5
No files matched your search
@@ -2379,7 +2379,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInheritanceWhere(SpiQuery<?> query) {
|
||||
public void addInheritanceWhere(Query<?> query) {
|
||||
if (inheritInfo != null && !inheritInfo.isRoot()) {
|
||||
query.where().eq(inheritInfo.getDiscriminatorColumn(), inheritInfo.getDiscriminatorValue());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user