Skip to content

Commit

Permalink
Correct
Browse files Browse the repository at this point in the history
  • Loading branch information
dstepanov committed Sep 20, 2024
1 parent d60ccca commit 194817e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,10 @@ public void processRow(RS row) {
if (entityId == null) {
entityId = id;
entityInstance = readEntity(row, ctx, null, null);
} else if (!entityId.equals(id)) {
// We want only one entity, every thing else should be skipped
return;
} else if (entityId.equals(id)) {
// We want only one entity, everything else should be skipped
readChildren(row, entityInstance, null, ctx);
}
readChildren(row, entityInstance, null, ctx);
}

@Override
Expand Down

0 comments on commit 194817e

Please sign in to comment.