Primefaces datatable onEdit() edits the wrong entry if an entry has been added before refreshing the view
问题 i've got a question concerning Primefaces (version 5.0) and their datatable. If I have a p:datatable and I want to edit a cell or row (doesn't matter - behaviour is the same in that case) AND someone added a new entry to that database, I edit the new entry instead of the old. Well. Here are some code-snippets: my index.xhtml: <h:form id="viewChanges"> <p:dataTable id="changeTable" widgetVar="changeTable" value="#{changeController.list}" var="item" selection="#{changeController