Pessimistic Lock JQPL Translated To SQL Without FOR UPDATE Statement
(Doc ID 1554217.1)
Last updated on MAY 24, 2013
Applies to:Oracle TopLink - Version 18.104.22.168.0 to 22.214.171.124.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!