Commit 0dc669d3 authored by Matija Obreza's avatar Matija Obreza

Use cursor on INSTCODE for MS Access files

parent 95c98930
......@@ -54,7 +54,7 @@ public class MsAccessRowReader implements RowReader {
this.db = DatabaseBuilder.open(sourceFile);
_log.debug("CHARSET: " + db.getCharset());
this.table = db.getTable(sheetName);
this.cursor = table.getDefaultCursor();
this.cursor = table.newCursor().setIndexByColumnNames("INSTCODE").toCursor();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment