From 535fc3dac52f86895c1970fca4beb84423e3d013 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Wed, 18 Mar 2015 21:07:46 +0000 Subject: [PATCH] better index setup call git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@922 f203690c-595d-4dc9-a70b-905162fa7fd2 --- .../com/healthmarketscience/jackcess/impl/DatabaseImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5