使用HQL查询时的驱逐

时间:2016-04-27 12:05:03

标签: hazelcast

当我使用像“从设置中删除id =?”这样的HQL语句时对于已删除的实体,不会从Hazelcast中逐出二级缓存。

有谁知道这个问题?这是配置问题吗?

问候, 马丁

缓存配置:

<map name="default">
        <in-memory-format>BINARY</in-memory-format>
        <backup-count>1</backup-count>
        <read-backup-data>false</read-backup-data>
        <async-backup-count>0</async-backup-count>
        <time-to-live-seconds>0</time-to-live-seconds>
        <max-idle-seconds>0</max-idle-seconds>
        <eviction-policy>NONE</eviction-policy>
        <max-size policy="PER_NODE">0</max-size>
        <eviction-percentage>25</eviction-percentage>
        <merge-policy>com.hazelcast.map.merge.PassThroughMergePolicy</merge-policy>
</map>

0 个答案:

没有答案