Mapping files are not processed during OpenJPA to EclipseLink migration

The OpenJPA to EclipseLink Migration rule set primarily detects migration issues in Java Persistence API (JPA) annotation definitions. Because information in mapping files is not migrated, this rule detects META-INF/orm.xml entity mapping files. The rule also detects references to mapping-file elements in META-INF/persistence.xml files because mapping files can be any XML file on the classpath.

The entity mapping files might contain issues that are similar to the issues in JPA annotations. For mapping files to be compatible with EclipseLink, you must manually assess the files for the issues and make any necessary changes.

For more information about what to migrate, see the help for the annotation rules and the OpenJPA to EclipseLink JPA Migration: Mappings guide.