Skip to content

Commit

Permalink
Update PlainBatchParameterProcessor.java
Browse files Browse the repository at this point in the history
Composite key  added for ref_type search parameters.

Signed-off-by: Berkant Karduman <karduman.berkant@gmail.com>
  • Loading branch information
berkant-k authored Nov 15, 2023
1 parent 8429bf7 commit 817b3a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public void process(String requestShard, String resourceType, String logicalId,

try {
PlainPostgresParameterBatch dao = getParameterBatchDao(resourceType);
dao.addReference(logicalResourceId, parameterNameValue.getParameterNameId(), refLogicalResourceId.getLogicalResourceId(), parameter.getRefVersionId());
dao.addReference(logicalResourceId, parameterNameValue.getParameterNameId(), refLogicalResourceId.getLogicalResourceId(), parameter.getRefVersionId(),parameter.getCompositeId());
} catch (SQLException x) {
throw new FHIRPersistenceException("Failed inserting security params for '" + resourceType + "'");
}
Expand Down

0 comments on commit 817b3a3

Please sign in to comment.