Use CacheHelper instead of making direct call
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14122 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
26ad878142
commit
bd75e6db03
|
@ -188,9 +188,11 @@ public abstract class BasicRegionAdapter implements Region {
|
|||
Map result = new HashMap();
|
||||
Set childrenNames = CacheHelper.getChildrenNames(jbcCache, regionFqn);
|
||||
for (Object childName : childrenNames) {
|
||||
result.put(childName, jbcCache.get(new Fqn(regionFqn, childName), ITEM));
|
||||
result.put(childName, CacheHelper.get(jbcCache,regionFqn, childName));
|
||||
}
|
||||
return result;
|
||||
} catch (CacheException e) {
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
throw new CacheException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue