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:
@@ -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();) {
|
||||
|
||||
Reference in New Issue
Block a user