+ fix internal cache causing the multiple annotations key/conditions to overlap
This commit is contained in:
Costin Leau
2011-11-30 15:21:09 +00:00
parent 91c14bd1fe
commit 0a611aa776
8 changed files with 48 additions and 24 deletions

View File

@@ -34,6 +34,7 @@
</cache:caching>
<cache:caching method="multiEvict">
<cache:cache-evict cache="primary"/>
<cache:cache-evict cache="primary" key="#p0 + 'A'"/>
<cache:cache-evict method="multiEvict" cache="secondary" key="#p0"/>
</cache:caching>
<cache:caching>
@@ -72,6 +73,7 @@
<cache:cacheable method="multiCache" cache="secondary"/>
<cache:cache-evict method="multiEvict" cache="primary"/>
<cache:cache-evict method="multiEvict" cache="secondary" key="#p0"/>
<cache:cache-evict method="multiEvict" cache="primary" key="#p0 + 'A'"/>
<cache:cacheable method="multiCacheAndEvict" cache="primary" key="#root.methodName"/>
<cache:cache-evict method="multiCacheAndEvict" cache="secondary"/>
<cache:cacheable method="multiConditionalCacheAndEvict" cache="primary" condition="#p0 == 3"/>