Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 258535

Summary: [EclipseLink] NamedQuery lockModeType support - pessimistic locking
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Tran Le <tranle1>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: jolene.moffitt, neil.hauge
Version: 2.1Keywords: plan
Target Milestone: 2.3 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard: JPA2.0 EclipseLink

Description Karen Butzke CLA 2008-12-11 14:24:29 EST
NamedQuery annotation and orm.xml support for lockMode.

LockModeType enum:
  READ
  WRITE
  OPTIMISTIC
  OPTIMISTIC_FORCE_INCREMENT
  PESSIMISTIC
  PESSIMISTIC_FORCE_INCREMENT
  NONE
Comment 1 Karen Butzke CLA 2008-12-17 11:35:22 EST
248489 - EclipseLink pessimistic locking support for 1.1
Comment 2 Neil Hauge CLA 2009-12-02 17:25:21 EST
Complete in M4.
Comment 3 Tran Le CLA 2009-12-02 21:52:43 EST
Java and Orm model have been added to support this feature in JPA 2.0 and EclipseLink.
Comment 4 Jolene Moffitt CLA 2009-12-14 10:02:28 EST
Verified against M4 candidate - wtp-R3.2.9-I: I-3.2.0-20091204172442

Verified the following Lock Mode Types appear
  NONE
  OPTIMISTIC
  OPTIMISTIC_FORCE_INCREMENT
  PESSIMISTIC_FORCE_INCREMENT
  PESSIMISTIC_READ
  PESSIMISTIC_WRITE
  READ
  WRITE