aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java b/src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java
index f9de56d..0a4b255 100644
--- a/src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java
+++ b/src/java/com/healthmarketscience/jackcess/complex/ComplexColumnInfo.java
@@ -112,7 +112,7 @@ public abstract class ComplexColumnInfo<V extends ComplexValue>
Table complexColumns = db.getSystemComplexColumns();
IndexCursor cursor = IndexCursor.createCursor(
complexColumns, complexColumns.getPrimaryKeyIndex());
- if(!cursor.findRowByEntry(complexTypeId)) {
+ if(!cursor.findFirstRowByEntry(complexTypeId)) {
throw new IOException(
"Could not find complex column info for complex column with id " +
complexTypeId);
@@ -333,7 +333,7 @@ public abstract class ComplexColumnInfo<V extends ComplexValue>
.toIndexCursor();
}
- if(!_pkCursor.findRowByEntry(id)) {
+ if(!_pkCursor.findFirstRowByEntry(id)) {
throw new IllegalArgumentException("Row with id " + id +
" does not exist");
}