Page 1 of 1
					
				About Question enthuware.oce-jpad.v6.2.362 :
				Posted: Thu Oct 17, 2013 9:40 pm
				by ericrlessa
				If I have @Version in my entity, but I don't use LockModeTypes in transaction, what would be modified beyond of update the column? @Version alone makes some difference?
			 
			
					
				Re: About Question enthuware.oce-jpad.v6.2.362 :
				Posted: Fri Oct 18, 2013 10:25 am
				by admin
				As per Section 3.4.4.1
If a versioned object is otherwise updated or removed, then the implementation must ensure that the requirements of  LockModeType.OPTIMISTIC_FORCE_INCREMENT are met, even if no explicit
call to EntityManager.lock was made.
So, even if you don't use locking, the semantics will be the same if you have @Version.
HTH,
Paul.