I would like to ask how everyone is handling object concurrency. For example, user A loads an object with data from the DB, and makes some changes. User B then loads the same data into an object and makes some changes. User B saves these changes (writes new data to the DB). Now user A goes to save their changes - and at this point the issue arises.

How does everyone handle this?