4041424344454647
query.setParameter("name", "%" + name + "%"); return query.getResultList(); } public void remove(int personId) { Person person = this.entityManager.find(Person.class, personId); this.entityManager.remove(person); }