Using JPA and need help with the same. Current query looks as below
@Query("SELECT o FROM orders o " + "WHERE (o.type = \'type1\'... " +