Author: bstansberry(a)jboss.com
Date: 2008-05-21 16:34:54 -0400 (Wed, 21 May 2008)
New Revision: 14683
Modified:
core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/access/OptimisticTransactionalAccessDelegate.java
Log:
Don't redundantly call ensureRegionRootExists()
Modified:
core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/access/OptimisticTransactionalAccessDelegate.java
===================================================================
---
core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/access/OptimisticTransactionalAccessDelegate.java 2008-05-21
20:13:20 UTC (rev 14682)
+++
core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/access/OptimisticTransactionalAccessDelegate.java 2008-05-21
20:34:54 UTC (rev 14683)
@@ -89,7 +89,8 @@
public Object get(Object key, long txTimestamp) throws CacheException
{
region.ensureRegionRootExists();
- return super.get(key, txTimestamp);
+
+ return CacheHelper.get(cache, regionFqn, key);
}
/**