More perf work

This commit is contained in:
James 2017-04-11 06:56:17 -04:00
parent cba5aeb47b
commit 81aae2b672
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ public class JpaValidationSupportDstu3 implements IJpaValidationSupportDstu3 {
if ("ValueSet".equals(resourceName)) {
if (localReference) {
search = myValueSetDao.search(IAnyResource.SP_RES_ID, new StringParam(theUri));
if (search.size() == 0) {
search = myValueSetDao.search(ValueSet.SP_URL, new UriParam(theUri));
}
} else {
search = myValueSetDao.search(ValueSet.SP_URL, new UriParam(theUri));
}