Author: jonesde
Date: Wed May 2 15:42:42 2007
New Revision: 534643
URL:
http://svn.apache.org/viewvc?view=rev&rev=534643Log:
Applied fix from trunk for revision: 534636
Modified:
ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java
Modified: ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java?view=diff&rev=534643&r1=534642&r2=534643==============================================================================
--- ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java (original)
+++ ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java Wed May 2 15:42:42 2007
@@ -362,6 +362,7 @@
int size = getSize(context);
try {
listAcsr.put(context, eli.getPartialList(start, size));
+ eli.close();
} catch (GenericEntityException e) {
String errMsg = "Error getting partial list in limit-range with start=" + start + " and size=" + size + ": " + e.toString();
Debug.logError(e, errMsg, module);
@@ -416,6 +417,7 @@
try {
listAcsr.put(context, eli.getPartialList(((index - 1) * size) + 1, size));
+ eli.close();
} catch (GenericEntityException e) {
String errMsg = "Error getting partial list in limit-view with index=" + index + " and size=" + size + ": " + e.toString();
Debug.logError(e, errMsg, module);