Thanks for the reply.
About the comment: [Transaction management should not be occuring in the UI regardless. If you code transaction management in the UI then you will need to figure out how it could be accomplished. This is not a good thing. ]
The transaction management in our case is really in the persistence layer by means of @version column.
In UI case:
1. User A clicks on List employee records: A table with employee records is displayed. User A selects first record, goes to its Edit page.
2. User B clicks on List employee records: A table with employee records is displayed. User B selects first record, goes to its Edit page.
3. User A commits his changes
4. User B commits his changes.
In my view, the action in step 4 should fail as User B was working with older version of entity (which was modified by user A in the meantime)
Please correct me or suggest.