mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2538 - Tidy CQuery use of path()
This commit is contained in:
1 parent
43af5343a4
commit
376b3a9f13
1 file changed
+3
-6
@@ -581,20 +581,17 @@ public final class CQuery<T> implements DbReadContext, CancelableQuery, SpiProfi
|
||||
|
||||
@Override
|
||||
public void registerBeanInherit(BeanPropertyAssocOne<?> property, EntityBeanIntercept ebi) {
|
||||
String path = path(property.name());
|
||||
request.loadContext().register(path, ebi, property);
|
||||
request.loadContext().register(path(property.name()), ebi, property);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(String path, EntityBeanIntercept ebi) {
|
||||
path = path(path);
|
||||
request.loadContext().register(path, ebi);
|
||||
request.loadContext().register(path(path), ebi);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(BeanPropertyAssocMany<?> many, BeanCollection<?> bc) {
|
||||
String path = path(many.name());
|
||||
request.loadContext().register(path, many, bc);
|
||||
request.loadContext().register(path(many.name()), many, bc);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user