Pessimistic Lock JQPL Translated To SQL Without FOR UPDATE Statement
(Doc ID 1554217.1)
Last updated on MARCH 17, 2019
Applies to:Oracle TopLink - Version 188.8.131.52.0 to 184.108.40.206.0 [Release Oracle11g]
Information in this document applies to any platform.
Tried to lock one record that was queried from DB for update. JPQL is used and set it's hints with 'QueryHints.PESSIMISTIC_LOCK'. But the translated SQL was without 'FOR UPDATE' statement which is expected in it. JPQL code is as below:
Related eclipse bug link:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document