Grid DataProvider not refresing insertion!!

I have a problem trying to refresh a object insertion in a grid row.

I have been trying many ways to accomplish this action but nothing works.

I have tried the follow codes:

 public void salvarAcesso(Acesso acesso) {

        acervice.saveAcesso(acesso);  
       // obj.getAcessos().add(acesso);
       loadObjetosTI();
       // objetosTable.getDataProvider().refreshAll();        
        acessosTable.getDataProvider().refreshAll();

//        objProvider.getItems().remove(obj);           
//        objProvider.refreshItem(obj);
//        objProvider.getItems().add(obj);
//        objetosTable.setDataProvider(objProvider);
//        objetosTable.getDataProvider().refreshAll();
//        acessosTable.setItems(obj.getAcessos());
//        acessosTable.getDataProvider().refreshAll();
     // acessoDataProvider.refreshAll();
        //acessoDataProvider = DataProvider.ofCollection(obj.getAcessos());
       // acessosTable.setDataProvider(acessoDataProvider);      
       
       //this.markAsDirty();
        //  acessosTable.getDataProvider().refreshAll();
        // acessoDataProvider.refreshAll();
        // addLayout();          

Maybe DataProvider is not “talking” well with the backend, I am saying this because the problem is just with insertion,
when I leave the view and come back the object “acesso” is inserted and if I get the same object row for modification its updates well. Maybe the null id at insertion time is the problem. Help please!

This is SpringBoot-Vaadin-JPA app

Perhaps equals method of Acesso is not overrided.

refreshAll and refreshItem use equals.
Something like that: https://github.com/amahdy/person-service/blob/master/src/main/java/org/vaadin/stepbystep/person/backend/AbstractEntity.java

@Jean thanks for your time, all my entities overrides equals() and hashCode(), maybe we have a BUG here!