Skip to content

Commit

Permalink
Merge pull request #435 from BimsaraBodaragama/bug-fix/add-shared-res…
Browse files Browse the repository at this point in the history
…ource-attributes

Add Batch Insert for Adding Shared Resource Attributes
  • Loading branch information
AnuradhaSK authored Jan 25, 2025
2 parents d3ab087 + 930b0f6 commit fef8587
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ public boolean addSharedResourceAttributes(List<SharedResourceAttribute> sharedR
template.executeBatchInsert(CREATE_SHARED_RESOURCE_ATTRIBUTE, (namedPreparedStatement -> {
for (SharedResourceAttribute sharedResourceAttribute : sharedResourceAttributes) {
setSharedResourceAttributeParameters(namedPreparedStatement, sharedResourceAttribute);
namedPreparedStatement.addBatch();
}
}), null);
return true;
Expand Down

0 comments on commit fef8587

Please sign in to comment.