This content has been marked as final.
Show 1 reply
-
1. Re: FAQ? optimistic locking by version and versioning
adamw Apr 30, 2008 5:39 AM (in response to genman)Hello,
yes, @Versioned and @Version do mean different things. I don't think Envers needs to check for concurrent modifications, as this is handled well by Hibernate (either by optimistic or pessimistic locking).
I don't know if the version-checking mechanism in hibernate is pluggable, but anyway, I think it's a good idea to add an option to replace the default mechanism with a versions-table checking one. Another thing to add to the "todo" list :)
--
Adam