Skip to content

Commit

Permalink
0006318: NullPointerException while extracting data on SQLite as the
Browse files Browse the repository at this point in the history
typeName is not being set by driver
  • Loading branch information
jakobvanmeter committed Mar 28, 2024
1 parent 9cbe878 commit 3c38110
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -115,7 +115,7 @@ protected boolean useTriggerTemplateForColumnTemplatesDuringInitialLoad(Column c
return true;
}
String typeName = column.getJdbcTypeName();
if (typeName.equalsIgnoreCase("unichar") || typeName.equalsIgnoreCase("univarchar") || typeName.equalsIgnoreCase("unitext")) {
if (typeName != null && (typeName.equalsIgnoreCase("unichar") || typeName.equalsIgnoreCase("univarchar") || typeName.equalsIgnoreCase("unitext"))) {
return true;
}
int type = column.getJdbcTypeCode();
Expand Down

0 comments on commit 3c38110

Please sign in to comment.