Page 1 of 1

About Question enthuware.oce-jpad.v6.2.368 :

Posted: Mon Aug 17, 2015 6:00 pm
by alex
Hi,

Please check the quetsion
There are 4 valid values for em.lock(obj, LockModeType type)

Why you think that valid only em.lock(obj, LockModeType.OPTIMISTIC); ??
What about em.lock(obj, LockModeType.PESSIMISTIC_WRITE) and em.lock(obj, LockModeType.PESSIMISTIC_READ);

Re: About Question enthuware.oce-jpad.v6.2.368 :

Posted: Mon Aug 17, 2015 9:10 pm
by admin
The question is not about valid values. It is about the equivalence of the values. Please see the detailed explanation given with the question.