mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#710 - Behavior change - query with invalid fetch path (without properties) now throws PersistenceException
This commit is contained in:
1 parent
362ceea79b
commit
75a2633590
4 files changed
+33
-12
No files matched your search
@@ -1654,7 +1654,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
|
||||
return assocProp.getTargetDescriptor().getBeanDescriptor(splitBegin[1]);
|
||||
|
||||
} else {
|
||||
throw new RuntimeException("Error getting BeanDescriptor for path " + path + " from " + getFullName());
|
||||
throw new PersistenceException("Invalid path " + path + " from " + getFullName());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user