Discussion:
Adding hibernate filters dynamically from bootstrap
vinothsg11
2013-12-23 04:58:00 UTC
Permalink
Hi ,I have big list of domain classes and many classes has collections, I am
able to add collection filters and it is working . I will be adding
collections to the existing domain classes so I don't want to add filter to
collection manually every time when I add collections, I would like to add
hibernate filters to collection dynamically inside bootstrap when the server
starts up by reading each domain and if any of the domain has collection
property then bootstrap should add a collection filter to that domain, I am
not able to find a proper documentation on adding filters dynamically(may be
my google was not perfect to get the exact detail). My searches are
directing me to adding criteria filters.is this possible to add filtes at
runtime and how?. can someone please help me on this. I am new to this
grails platform



--
View this message in context: http://grails.1312388.n4.nabble.com/Adding-hibernate-filters-dynamically-from-bootstrap-tp4652760.html
Sent from the Grails - dev mailing list archive at Nabble.com.

Loading...