Column names are stored as upper case in the column-to-relation map.

This commit is contained in:
hns 2002-11-11 19:31:46 +00:00
parent e37d26f94d
commit a41483168a

View file

@ -628,7 +628,7 @@ public final class DbMapping implements Updatable {
if (table == null && parentMapping != null)
return parentMapping.needsQuotes (columnName);
try {
Relation rel = (Relation) db2prop.get (columnName);
Relation rel = (Relation) db2prop.get (columnName.toUpperCase());
if (rel == null)
throw new SQLException ("Error retrieving relational schema for "+this);
// make sure columns are initialized and up to date