Hibernate 3:在xml中的实体上使用AND条件的多个过滤器

时间:2014-04-07 06:33:55

标签: hibernate hibernate-filters

我希望在xml配置中的实体上有多个Hibernate过滤器,它与AND条件一起使用。我找到了注释Hibernate: Multiple filters on an entity的解决方案,但是在xml架构中缺少filter-defs。 多个filter-def

<filter-def ...>
</filter-def>
<filter-def ...>
</filter-def>

适用于OR条件。

感谢。

0 个答案:

没有答案