Merge pull request #467 from Robbert1/transaction-index-links
fix resources links being correctly indexed when linking eachother as part of a single transaction bundle
This commit is contained in:
commit
bde8aebc5a
|
@ -1431,6 +1431,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);
|
||||
|
||||
theEntity.toString();
|
||||
|
||||
|
|
Loading…
Reference in New Issue