Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,9 @@ public void executeOperation(LdbcUpdate1AddPerson operation, PostgresDbConnectio
stmt2.setLong(2, operation.getPersonId());
stmt2.setLong(3, o.getOrganizationId());
stmt2.setInt(4, o.getYear());
stmt2.executeUpdate();
stmt2.addBatch();
}
stmt2.executeBatch();
}

// InteractiveUpdate1AddPersonTags
Expand All @@ -471,8 +472,9 @@ public void executeOperation(LdbcUpdate1AddPerson operation, PostgresDbConnectio
stmt5.setObject(1, PostgresConverter.convertDateToOffsetDateTime(operation.getCreationDate()));
stmt5.setLong(2, operation.getPersonId());
stmt5.setLong(3, tagId);
stmt5.executeUpdate();
stmt5.addBatch();
}
stmt5.executeBatch();
}

// InteractiveUpdate1AddPersonUniversities
Expand All @@ -485,8 +487,9 @@ public void executeOperation(LdbcUpdate1AddPerson operation, PostgresDbConnectio
stmt6.setLong(2, operation.getPersonId());
stmt6.setLong(3, o.getOrganizationId());
stmt6.setInt(4, o.getYear());
stmt6.executeUpdate();
stmt6.addBatch();
}
stmt6.executeBatch();
}

} catch (Exception e) {
Expand Down