diff options
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java b/src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java index de208c9..724a1fa 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/TableUpdater.java @@ -240,7 +240,7 @@ public class TableUpdater extends TableMutator private Set<String> getColumnNames() { Set<String> colNames = new HashSet<String>(); for(ColumnImpl column : _table.getColumns()) { - colNames.add(column.getName().toUpperCase()); + colNames.add(DatabaseImpl.toLookupName(column.getName())); } return colNames; } @@ -248,7 +248,7 @@ public class TableUpdater extends TableMutator static Set<String> getIndexNames(TableImpl table, boolean[] foundPk) { Set<String> idxNames = new HashSet<String>(); for(IndexImpl index : table.getIndexes()) { - idxNames.add(index.getName().toUpperCase()); + idxNames.add(DatabaseImpl.toLookupName(index.getName())); if(index.isPrimaryKey() && (foundPk != null)) { foundPk[0] = true; } |