* Store property to relation mapping with lower case property name as
ResourceProperties will preserve key capitalization from now on.
This commit is contained in:
parent
56f83cb75b
commit
4ee8b35d80
1 changed files with 3 additions and 4 deletions
|
@ -297,10 +297,9 @@ public final class DbMapping {
|
|||
|
||||
rel.update(dbField, props);
|
||||
|
||||
// key enumerations from SystemProperties are all lower case, which is why
|
||||
// even though we don't do a toLowerCase() here,
|
||||
// we have to when we lookup things in p2d later.
|
||||
p2d.put(propName, rel);
|
||||
// store relation with lower case property name
|
||||
// (ResourceProperties now preserve key capitalization!)
|
||||
p2d.put(propName.toLowerCase(), rel);
|
||||
|
||||
if ((rel.columnName != null) &&
|
||||
((rel.reftype == Relation.PRIMITIVE) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue