私はtest
列id
を持つテーブルを持っているとしましょうname
私のビーンで私はこのクエリを得ました
public List getTestList(){
Query q = em.createNativeQuery("select * from test");
List list = q.getResultList();
return list;
}
私のjsfページには次のものがあります:
<ul>
<ui:repeat id="resulta" value="#{testController.testList}" var="item">
<li>#{item.id}</li>
</ui:repeat>
</ul>
なぜ私はSEVERE: javax.el.ELException: /test.xhtml: For input string: "id"