Navigation Menu

Skip to content

Commit

Permalink
Fix issue with DatabaseWriter where if the table had no key, we weren…
Browse files Browse the repository at this point in the history
…'t passing lookup key data properly.
  • Loading branch information
gwilmer committed May 10, 2012
1 parent ca8cbdb commit 4a43db3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -656,7 +656,7 @@ protected String[] getLookupKeyData(CsvData data) {
if (allPks) {
String[] keyDataAsArray = data.getParsedData(CsvData.PK_DATA);
if (keyDataAsArray != null
&& keyDataAsArray.length <= targetTable.getPrimaryKeyColumnCount()) {
&& keyDataAsArray.length == targetTable.getPrimaryKeyColumnCount()) {
return keyDataAsArray;
}
}
Expand Down

0 comments on commit 4a43db3

Please sign in to comment.