Make method transactional
This commit is contained in:
parent
d6f6ec2d66
commit
addcdc9269
|
@ -499,7 +499,7 @@ public abstract class BaseHapiFhirResourceDao<T extends IBaseResource> extends B
|
||||||
public DeleteMethodOutcome deleteByUrl(String theUrl, DeleteConflictList deleteConflicts, RequestDetails theRequestDetails) {
|
public DeleteMethodOutcome deleteByUrl(String theUrl, DeleteConflictList deleteConflicts, RequestDetails theRequestDetails) {
|
||||||
validateDeleteEnabled();
|
validateDeleteEnabled();
|
||||||
|
|
||||||
return doDeleteByUrl(theUrl, deleteConflicts, theRequestDetails);
|
return myTransactionService.execute(theRequestDetails, tx -> doDeleteByUrl(theUrl, deleteConflicts, theRequestDetails));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
|
Loading…
Reference in New Issue