One recruiter asked me the below question, can someone answer this? I think versioning concept won't work here.
In Hibernate, at 11.10am, my application retrieved a record from the database. Before this record gets committed, i update the record in the database via sql client. Now when my application try to update, the record should contain both updates (done from sql client and application updates). How do you do that?