Filter « Interceptor « JPA Q&A





1. Filter via Interceptor?    forum.hibernate.org

I'm implementing security constraints on data objects using Hibernate's Interceptor interface. What I'd like is the option to filter query results according to the user's security level. In other words, if the user does not have access to the persistent object instance, then make it look like the instance doesn't even exist in the DB. A query for one user might ...