Don't redundantly call ensureRegionRootExists()

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14683 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Brian Stansberry 2008-05-21 20:34:54 +00:00
parent 544e93a305
commit 6101b4e26e
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ public class OptimisticTransactionalAccessDelegate extends TransactionalAccessDe
public Object get(Object key, long txTimestamp) throws CacheException
{
region.ensureRegionRootExists();
return super.get(key, txTimestamp);
return CacheHelper.get(cache, regionFqn, key);
}
/**