Global « Filter « JPA Q&A

1. Global filters

Hi, I've seen this question asked a number of times but nobody seems to have got the answer that they or I am looking for :-) Is there a way to define a filter that is applied to ALL queries on ALL tables? Our use case is that we are storing historical data in the same tables as current data and ...

2. How to define a global filter ?