私の文を書く際のエラー:
public List findWithName(String name) {
return em.createQuery( "SELECT c FROM Customer c WHERE c.name LIKE :custName") .setParameter("custName", name)
.setMaxResults(10)
.getResultList();
}
java.lang.NullPointerException
エラーが発生します