Correct way to update a BDM record from multiple concurrent processes?
It may be that I have structured my application badly; but I am am seeing errors during high-load testing which seem to suggest that the problem is that a BDM record is being updated by two processes at the same time in such a way that one of them barfs. The error is typically ...
org.hibernate.StaleObjectStateException.: Row was updated or deleted by another transaction
So my question .. is there a right way of doing this in a manner that prevents these inter-process issues? I guess I'm looking for some kind of implicit record locking or synchronization.