Hi there,
is there any global Datafilter with OpenJPA available? I want do delete
objects just logical (set a delete flag). For some sessions I want to
display only the active objects, but in other sessions the deleted ones
should also be displayed. Another case would be some security level on
each entity. The user can than only view objects that are in his
security level. Of course the filter should also apply for navigating in
the object model: group.getMembers() should only return objects
according to the current (session) filter.
Has anyone an idea how to solve this problem?
Hibernate does have such a mechano. But you have to apply the filter on
each association.
Regards,
Lukas Weibel