I've done some poking around online, but my search results find exclusively answers to much simpler questions....
I have a class Product (cause everyone uses that as an example). I want to create a JPA interface method like:
List<Product> matchProductsFrom(List<Product>);
There is some business logic in there: I want to match dbProduct.a = queryProduct.a and db.product.b = constant value. But my main issue is, I can't find a way to enter a list of objects, rather than a list of primitives, and query against attributes of each object.
It's either simple but hard to find, or impossible/not supported. Help appreciated.