Commit failed for grid with SQLContainer as Datasource

I have a grid and a SQLCOntainer as datasource for it. I need to enble row editing and saving changes to the database.

I did following steps:


and find on forum those sort of listener:

         grid.getEditorFieldGroup().addCommitHandler(new FieldGroup.CommitHandler() {
                public void preCommit(FieldGroup.CommitEvent commitEvent) throws     FieldGroup.CommitException {


               public void postCommit(FieldGroup.CommitEvent commitEvent) throws     FieldGroup.CommitException {
                       try {
                        } catch (UnsupportedOperationException | SQLException e) {
                            // TODO Auto-generated catch block

and after i click “save” i got error:$CommitException: Commit failed


Caused by: Someone else changed the row that was being updated.

upd_date is table in PostgreSQL with type timestamp with time zone and defult value set.

I would be much gratefull for the help!

Is there a possibility that someone else has in fact changed the data?

Also, check that you’ve done this: