Improved: EntityUtilProperties.getProperties method should use cache.
(OFBIZ-10717) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -202,6 +202,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