[jboss-cvs] JBossAS SVN: r64508 - trunk/server/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 8 09:46:00 EDT 2007


Author: alex.loubyansky at jboss.com
Date: 2007-08-08 09:46:00 -0400 (Wed, 08 Aug 2007)
New Revision: 64508

Modified:
   trunk/server/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/CacheInvalidator.java
Log:
JBAS-4597

Modified: trunk/server/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/CacheInvalidator.java
===================================================================
--- trunk/server/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/CacheInvalidator.java	2007-08-08 13:29:27 UTC (rev 64507)
+++ trunk/server/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/CacheInvalidator.java	2007-08-08 13:46:00 UTC (rev 64508)
@@ -115,7 +115,7 @@
             log.trace("invalidating key[" + i + "]=" + keys[i]);
          }
 
-         cache.lock();
+         cache.lock(keys[i]);
          try
          {
             cache.remove(tx, keys[i]);
@@ -129,7 +129,7 @@
          }
          finally
          {
-            cache.unlock();
+            cache.unlock(keys[i]);
          }
       }
    }




More information about the jboss-cvs-commits mailing list