This rule flags references to
javax.persistence
packages.
The WebSphere default JPA provider switched from OpenJPA
for JPA 2.0 (Java EE 6) to EclipseLink for JPA 2.1 (Java EE 7).
If you are using the source scanner, your migration configuration selections indicate that you are migrating to Java EE 7 but are not changing your JPA implementation level. In this case, you will need to configure the server to use the non-default implementation.
If you are using the binary application scanner, this rule is included when the target Java EE level is version 7. The rule advises you of any required server configuration to use the non-default implementation for JPA.
WebSphere Application Server traditional V9.0 is Java EE 7 certified which includes JPA 2.1 by default. If you are migrating to WebSphere Application Server traditional V9.0, you can configure your server to use the JPA 2.0 implementation to minimize the migration impact on your application. For information on configuring WebSphere Application Server traditional, see Identifying and modifying the JPA specification level. If you would like to migrate to JPA 2.1 instead of staying on JPA 2.0, use the source scanner to assist with your application changes.
In Liberty, to use a combination of Java EE 6 and Java EE 7
technologies, all features must be configured individually.
The javaee-7.0 feature cannot be used in this case.
For more information, see
Supported Java EE 6 and 7 feature combinations.