The docs are not completely clear to me regarding the dependency between dynamic-update and optimistic-lock attributes in Hibernate 2.1.1. It says
Quote:
If you enable dynamic-update, you will have a choice of optimistic locking strategies
.
Now, does it mean that if I use dynamic-update="false" then...:
1. ...Hibernate does no optimistic locking at all
2. ...non-default values for optimistic-lock ("all" and "dirty") cannot be used, but the default value "version" is still implied and enforced
I'd really love it if the correct answer would be 2.