* 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); rel.update(dbField, props);
// key enumerations from SystemProperties are all lower case, which is why // store relation with lower case property name
// even though we don't do a toLowerCase() here, // (ResourceProperties now preserve key capitalization!)
// we have to when we lookup things in p2d later. p2d.put(propName.toLowerCase(), rel);
p2d.put(propName, rel);
if ((rel.columnName != null) && if ((rel.columnName != null) &&
((rel.reftype == Relation.PRIMITIVE) || ((rel.reftype == Relation.PRIMITIVE) ||