The issue was in the following: when I try to edit row in the dataTable, all is going well. But when I try to save the changes, the new value doesn’t retrieve and new value has not been saved.

In the getAll method of the generic dao do null control :

if (listItems == null){
            listItems = (List<Item>) genericDao.getAll();
        }
        return listItems;

source : http://jwsn.blogspot.com.tr/2013/05/issue-with-rowedit-event-in-primefaces.html

Advertisements