I have dozen of Spring Data JPA repositories mostly creating queries based on the query method names, but also manually created using @Query
. Now I would like to add an additional where condition e.g. owner = <USER>
where USER is dynamically provided in Runtime to all the existing queries.
Is there a way how this can be achieved in Spring Data?