* Store property to relation mapping with lower case property name as

ResourceProperties will preserve key capitalization from now on.
This commit is contained in:
hns 2006-08-09 09:52:10 +00:00
parent 56f83cb75b
commit 4ee8b35d80

View file

@ -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) ||