I'm currently working on the project where ALL entities have @GeneratedValue
for their id
fields. But some of those entities are only read, some are only read and updated and there's no chance that there will be some inserts needed.
So does @GeneratedValue
really make sense for entities which will never be inserted?
I mean can I just remove all of them and it will be fine?