Here is the Order class:
@Entity
public class Order {
@Id
@GeneratedValue
private long id;
private String status;
private int price;
// constructor, getters, setters
}
Let's say we have a custom @Query annotation that retrieves all the orders with a particular status and a total price greater than a specified value:
@Query("____")
List<Order> findOrdersByStatusAndPrice(int price, String status);
Which of the following query string will correctly produce the order list?