mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-24 23:56:36 +00:00
No effective change - improve error message
This commit is contained in:
@@ -1325,7 +1325,7 @@ public class BeanDescriptorManager implements BeanDescriptorMap {
|
||||
Integer pos = reflectProps.getPropertyIndex(propName);
|
||||
if (pos == null) {
|
||||
if (isPersistentField(prop)) {
|
||||
throw new IllegalStateException("Property "+propName+" not found in "+reflectProps);
|
||||
throw new IllegalStateException("Property " + propName + " not found in " + reflectProps + " for type " + beanType);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user