How to join multiple columns using Specification in JPA?
问题 I'm trying to convert a query into a JPA Specification, the query contains JOIN operation with OR condition. Here is the Query : select u from User u inner join Operation o on (u.id = o.verificateur1 or u.id = o.verificateur2) where o.id not in (:ids) I tried to write a specification but I'm blocked on how to join multiple column with OR condition. public class UserSpecification { public static Specification<User> UsersNotInSelectedOperations(final List<Long> operationId ){ return new