The openjpa.LockManager configuration property must be migrated

EclipseLink does not have a configuration equivalent to the openjpa.LockManager configuration property. EclipseLink will not recognize this OpenJPA lock mode property and will use the EclipseLink default lock mode instead. In EclipseLink lock modes are set using the JPA 2.1 specification, which provide lock APIs such as the EntityManager lock method or the Query setLockMode method. See the specification for details.

The rule flags the following OpenJPA lock manager property name in the persistence.xml file.

<persistence-unit name="JPAService">
	<properties>
	    <property name="openjpa.LockManager" value="pessimistic">
	</properties>
</persistence-unit>

For information about this OpenJPA to EclipseLink migration issue, see the Migration from OpenJPA to EclipseLink: Persistence XML guide.