Change JPA using NamedQuery for Defect