+

Search Tips   |   Advanced Search

Migration of JPA applications and bean validation

The Java Persistence API (JPA) 2.0 provides support for the Bean Validation API so that data validation can be done at run time. This topic includes best practices when we want to deploy v7 Feature Pack for OSGi and JPA 2.0 applications on v8.x.

The Bean Validation API is not included with the v7 Feature Pack for OSGi and JPA 2.0. Therefore, provide and configure the Bean Validation API and implementation in a shared library or package with the application.

For transitioning users: The Bean Validation API and implementation are included in v8.x and later products. To deploy the feature pack applications on 8.x or later versions, be aware of the following changes in configuration and runtime behaviors:

trns


Related:

  • Bean validation in RAR modules
  • Bean Validation
  • Use installed optional packages
  • Configure class loaders of a server
  • Create shared libraries
  • Task overview: Store and retrieve persistent data with the JPA API
  • Bean validation troubleshooting tips
  • Bean validation built-in constraints
  • Troubleshoot bean validation in RAR modules