diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2015-03-18 21:07:46 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2015-03-18 21:07:46 +0000 |
commit | 535fc3dac52f86895c1970fca4beb84423e3d013 (patch) | |
tree | 9856d6571d5d22442f29a3291190c85910cc36fb /src/main | |
parent | fad035e0b93b55502f54474343c9ac618a62e66d (diff) | |
download | jackcess-535fc3dac52f86895c1970fca4beb84423e3d013.tar.gz jackcess-535fc3dac52f86895c1970fca4beb84423e3d013.zip |
better index setup call
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@922 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main')
-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) { |