" .where(qProduct.category.eq(categoryId));Here categoryId is a parameter that is passed" . . . .