Applied fix from trunk for revision: 1849191

===

Improved: EntityUtilProperties.getProperties method should use cache.
(OFBIZ-10717)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1849197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2018-12-18 17:12:08 +00:00
parent 8e7b288ebe
commit 4b86c4d0b3
@@ -210,6 +210,7 @@ public final class EntityUtilProperties implements Serializable {
gvList = EntityQuery.use(delegator)
.from("SystemProperty")
.where("systemResourceId", resourceName)
.cache()
.queryList();
if (UtilValidate.isNotEmpty(gvList)) {
for (Iterator<GenericValue> i = gvList.iterator(); i.hasNext();) {