简体   繁体   English

grails过滤器和休眠grails过滤器插件有什么区别

[英]what is the difference between grails filters and hibernate grails filter plug-ins

Grails filter plug-in compile "org.grails.plugins:filter:0.2" Grails过滤器插件compile "org.grails.plugins:filter:0.2"

Grails Hibernate filter plug-in compile "org.grails.plugins:hibernate-filter:0.3.2" Grails Hibernate过滤器插件compile "org.grails.plugins:hibernate-filter:0.3.2"

I wanted to know, when exactly we are going to use these 2 plug-ins and main difference between these 2 plug-ins 我想知道,到底什么时候我们要使用这两个插件以及这两个插件之间的主要区别

These are two entirely different types of plugins. 这是两种完全不同类型的插件。

The hibernate-filter plugin is used to create filters on domain classes and associations that can be enabled/disabled within your code. hibernate-filter插件用于在域类和关联上创建可在代码中启用/禁用的过滤器。

The filters plugin is a UI plugin for filtering data in collections. filters插件是一个UI插件,用于过滤集合中的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM