Number format exception when returning values from database(JPA)
问题 I want to fill a simple h:datatable tag with some values from a database. But i get an exception and i cant find what is the reason: java.lang.NumberFormatException: For input string: "url" This is how i create the datatable: <h:form> <h:dataTable value="#{managementBB.retrieveRecords()}" var="record"> <h:column> <f:facet name="header">URL</f:facet> #{record.url} </h:column> <h:column> <f:facet name="header">Submition date</f:facet> #{record.submitionDate} </h:column> <h:column> <f:facet name