Problem Grid take similar objects as same objects

I build a simple grid as usual but now it’s not taking the objects (it just clones them) and I’m not sure why, even when I click on 1 single row it automatically selects 4 of them.

As the logs shows, I’m sure they are not the same item.

How is equals and hashCode implemented?

Wrong :wink:

hmm yep


i dndt think it will use that one on the grid

I’m gonna change it to default

it works, thx!

equals and hashCode should either be correctly implemented or not be implemented at all

Very important when using Collections or JPA/Hibernate

and Vaadin :grin: