The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

first I want to congratualate for the great work done so far, looking forward for the last chapters...

10.2.3. Explicit pessimistic locking


2. If the query returns successfully, you know that you hold an exclusive lock on the data and
no other transaction can access/modify it until this transaction commits.

I think it should state only "modify" here, since the specification says :

LockModeType.PESSIMISTIC_READ can be used to query data using repeatable-read
semantics without the need to reread the data at the end of the transaction to obtain a lock, and
without blocking other transactions reading the data.