diff options
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java index 2823f62..91ad213 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java @@ -1516,7 +1516,7 @@ public class DatabaseImpl implements Database { try { return table.newCursor() - .setIndexByColumns(table.getColumn(colName)) + .setIndexByColumnNames(colName) .setSpecificEntry(colValue) .toCursor(); } catch(IllegalArgumentException e) { |