I am using this hibernate filters in my application too.. I can not say how 
easy it is.

I have used this strategy:
1. My users has a Company_id column.
2. When they login on my application I set this Filter parameter (company_id) 
fro all my relevant entities.. done... from now, each single query, collection, 
etc.. is automaticaly added with a " and company_id = ? " expression on where 
clause..

I got some problems configuring it because there is some tricks defining the 
filter parameter value... but after solve that, my world becomes even easier. :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048775#4048775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048775
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to