I want to have a method which searches for data on the basis of status and (SellerId or BuyerId). The following method name doesnt work for me and gives me an error: No parameter available for part status SIMPLE_PROPERTY (1): [Is, Equals] NEVER. What is to be corrected in the method signature? Seller and Buyer are two separate tables each having a field id.
findByStatusIsAndSellerIdOrStatusIsAndBuyerId(status, id)