I am new to JPA. And I came to this annotation @Version. The documentation for this annotation says:
@Version
"This annotation identifies a version field or property of an entity class that serves as its optimistic lock value. This version is used to provide integrity when merging and optimistic concurrency management."
What does this mean: optimistic blocking and how is it really related to this annotation? Thanks
Shortly speaking...
, @Version, , SVN. , ( !) , . OptimisticLockException, - .
OptimisticLockException
" , "
(, READ WRITE) ,
"- "