Community
Participate
Working Groups
Build ID: 2.0.0.v20090424-r4050 Steps To Reproduce: For a non-version entity Part, Part p = em.find(Part.class, pID, LockModeType.PESSIMISTIC_WRITE); pessimistic locking failed on EclipseLink 2.0.0.v20090424-r4050. javax.persistence.PersistenceException: Invalid lock mode type on for an entity that does not have a version locking index. Only a PESSIMISTIC lock mode type can be used when there is no version locking index.|#] More information: It is a regression of glassfish v3 jpa2.0 feature. https://glassfish.dev.java.net/issues/show_bug.cgi?id=8063
With the change to the new Pessimistic locking strings the Query code must be updated. See ObjectLevelReadQuery.setLockModeType and maybe others.
Setting target and priority. For information about the meaning of these settings, see the following document: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
This issue will be resolved with the fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=248489
*** This bug has been marked as a duplicate of bug 248489 ***
Mass update to change fixed in target.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink