Hello all,

I read on this page
http://en.wikibooks.org/wiki/Java_Persistence/Advanced_Topics#Filters, some
thing about filters. My understanding is that it creates multiple view for
the database.
I need to implement row level security depending on the user reading the
data. I know this can be in done in the DAOs. But since this is going to be
done in many places I am searching for a better option. Another option is
to do it in Aspect Oriented way. For a moment I though about extending the
EntityManager, and do what I need there.
Still I believe using filters the way it's described, is a cleaner approach
for what I am doing and if I understand it correctly.

Another option is http://jpasecurity.sourceforge.net/.

My first question is, does openjpa has something similar ?
The second question, I didn't find anything about these data filters in the
specs. Which makes me conclude that it can not be done in a vendor neutral
way. Am I missing something ?

If anyone had experience with similar situation, please share.


Thank you.

Reply via email to