mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2359 - Rename plugin api methods with deprecation - Property
This commit is contained in:
1 parent
bc02eeac57
commit
632f04c76b
66 files changed
+265
-193
No files matched your search
+3
-3
@@ -76,7 +76,7 @@ public class ProfileOriginNodeUsage {
|
||||
// (which is the default for Lob's so typical).
|
||||
} else {
|
||||
addedToPath = true;
|
||||
pathProps.addToPath(path, beanProp.getName());
|
||||
pathProps.addToPath(path, beanProp.name());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,14 +86,14 @@ public class ProfileOriginNodeUsage {
|
||||
BeanProperty versionProp = desc.getVersionProperty();
|
||||
if (versionProp != null) {
|
||||
addedToPath = true;
|
||||
pathProps.addToPath(path, versionProp.getName());
|
||||
pathProps.addToPath(path, versionProp.name());
|
||||
}
|
||||
}
|
||||
|
||||
if (toOneIdProperty != null && !addedToPath) {
|
||||
// add ToOne property to parent path
|
||||
ElPropertyValue assocOne = rootDesc.getElGetValue(path);
|
||||
pathProps.addToPath(SplitName.parent(path), assocOne.getName());
|
||||
pathProps.addToPath(SplitName.parent(path), assocOne.name());
|
||||
}
|
||||
} finally {
|
||||
lock.unlock();
|
||||
|
||||
Reference in new issue
Block a user