I\'m struggling to understand how to implement a simple query like
SELECT * from Orders where category=1 and userid=1
with spring+jpa+mysql.