[ 
https://issues.apache.org/jira/browse/OPENJPA-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Curtis updated OPENJPA-1604:
---------------------------------

    Attachment:     (was: OPENJPA-1604-2.0.x.patch)

> Setting PessimisticLockManager fails to append "for update clause" to the 
> select statement
> ------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1604
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1604
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Fay Wang
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0, 2.1.0
>
>
>  I ran a testcase against openjpa 1.2, and found that the "for update" clause 
> is appended to the SQL when
>               <property name="openjpa.LockManager" value="pessimistic"/>
>       is added to the persistence.xml without calling: 
>                q.setLockMode(LockModeType.PESSIMISTIC_WRITE);
> However, this behavior changes when running against trunk level code

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to