Thanks for the note.
Still seems wierd. I don't see why anyone building a mutli-user web application could ever just use hibernate versioning.
I'm using Spring and I just created a test case to verify versioning is working correctly. One thing I'm perplexed about is right after I attempt to update the database with a stale database object, the logs show the flush mode is being changed to Never:
Code:
(SessionImpl.java:1230) - setting flush mode to: NEVER
So from this point on, In my test, I can no longer write to the database. That is true even if I do an explicit reload on my object. What is the accpeted way to deal with this?