mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1192 - findNative() with @Embedded beans ... the embedded bean isn't loaded properly
This commit is contained in:
1 parent
10607385e0
commit
66fe278e3f
2 files changed
+50
-2
No files matched your search
@@ -449,8 +449,13 @@ class CQueryBuilder {
|
||||
throw new PersistenceException(msg);
|
||||
}
|
||||
if (propertyName != null) {
|
||||
String[] pathProp = SplitName.split(propertyName);
|
||||
pathProps.addToPath(pathProp[0], pathProp[1]);
|
||||
boolean assocProperty = el.isAssocProperty();
|
||||
if (!assocProperty) {
|
||||
pathProps.addToPath(null, propertyName);
|
||||
} else {
|
||||
String[] pathProp = SplitName.split(propertyName);
|
||||
pathProps.addToPath(pathProp[0], pathProp[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user