Author: deepak
Date: Tue Dec 18 16:20:56 2018
New Revision: 1849191

URL: http://svn.apache.org/viewvc?rev=1849191&view=rev
Log:
Improved: EntityUtilProperties.getProperties method should use cache.
(OFBIZ-10717)

Modified:
    
ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java

Modified: 
ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java?rev=1849191&r1=1849190&r2=1849191&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java
 Tue Dec 18 16:20:56 2018
@@ -202,6 +202,7 @@ public final class EntityUtilProperties
             gvList = EntityQuery.use(delegator)
                     .from("SystemProperty")
                     .where("systemResourceId", resourceName)
+                    .cache()
                     .queryList();
             if (UtilValidate.isNotEmpty(gvList)) {
                 for (Iterator<GenericValue> i = gvList.iterator(); 
i.hasNext();) {


Reply via email to