You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2010/04/01 06:32:40 UTC

svn commit: r929815 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java

Author: doogie
Date: Thu Apr  1 04:32:40 2010
New Revision: 929815

URL: http://svn.apache.org/viewvc?rev=929815&view=rev
Log:
When removing a key, and calling fileTable.remove, be certain to call
jdbmMgr.commit.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java?rev=929815&r1=929814&r2=929815&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java Thu Apr  1 04:32:40 2010
@@ -179,6 +179,7 @@ public class CacheLineTable<K, V> implem
         if (fileTable != null) {
             try {
                 fileTable.remove(key != null ? key : ObjectType.NULL);
+                jdbmMgr.commit();
             } catch (IOException e) {
                 Debug.logError(e, module);
             }