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

Moderator: admin

Post Reply
alex
Posts: 42
Joined: Tue Feb 12, 2013 4:35 pm
Contact:

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

Post 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);

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests