-1

私の文を書く際のエラー:

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エラーが発生します

4

1 に答える 1