Skip to content

Commit

Permalink
0005463: Fixed NPE when initial load select SQL is null
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Oct 20, 2022
1 parent cb94b1a commit 5789e63
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -168,7 +168,7 @@ protected CsvData selectNext() {
overrideSelectSql = overrideSelectSql.trim().substring(5);
}
if (parameterService.is(ParameterConstants.INITIAL_LOAD_RECURSION_SELF_FK)
&& (overrideSelectSql.equals(Constants.ALWAYS_TRUE_CONDITION) || StringUtils.isBlank(overrideSelectSql))) {
&& (StringUtils.isBlank(overrideSelectSql) || overrideSelectSql.equals(Constants.ALWAYS_TRUE_CONDITION))) {
ForeignKey fk = sourceTable.getSelfReferencingForeignKey();
if (fk != null) {
Reference[] refs = fk.getReferences();
Expand Down

0 comments on commit 5789e63

Please sign in to comment.