fix resources links being correctly indexed when linking eachother as part of a single transaction bundle
This commit is contained in:
parent
7caf9b5ad9
commit
92a070430a
|
@ -1415,6 +1415,8 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao {
|
|||
for (ResourceLink next : links) {
|
||||
myEntityManager.persist(next);
|
||||
}
|
||||
// make sure links are indexed
|
||||
theEntity.setResourceLinks(links);
|
||||
|
||||
} // if thePerformIndexing
|
||||
|
||||
|
|
Loading…
Reference in New Issue