Column names are stored as upper case in the column-to-relation map.
This commit is contained in:
parent
e37d26f94d
commit
a41483168a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue