|
|
Greetings!
I am using hibernate-plugin. where I need to apply the filter to not only on a given domain but its associations as well. So I guess I need to use collection:' '. However, when I add collection to my hibernate filters definition, filtering criteria is not appended to the SQL query generated. It works when I remove it but only with the given domain not with its associations.
static hibernateFilters = { excludeDeletedFilter(condition: "status<>'DELETED'", collection:'states', default: true) }
Is it a bug or I need to use it differently.
Grails Version : 2.0.3 Hibernate Plugin Version : 1.3.1
Thanks,
-- Best Regards, Amit Jain IntelliGrape Software
|