Reputation: 1
@Query(value=" select DISTINCT sb.Failed_Part_Number,sb.Replacement_Part_Number,sb.Part_Description FROM tbl_servicebom sb WHERE sb.Part_Category=:partcatagory", nativeQuery=true)
List findBySpaModel(String partcatagory);
Upvotes: 0
Views: 40
Reputation: 95
One thing that caused this issue could be the mismatch in variable name, check sb.Part_Category if the same name exists in your entity if exists then check for spelling and case sensitivity.
Upvotes: 0