Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1209 OpenJPA 2.0 iteration 10 primary task
  3. OPENJPA-1208

Set specification level based upon persistence.xml version

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M3
    • 2.0.0-M3
    • jpa
    • None

    Description

      This is follow-on work to OPENJPA-857. OpenJPA will now detect the version in the persistence.xml for a PU and set it in the configuration. This will result in the appropriate state of various compatibility options to be set based upon the JPA level, allowing OpenJPA 1.0 applications to function without modifications. In addition, integrated bean validation will be disabled for 1.0 applications. Otherwise, unexpected validation could occur by default within a 1.0 app if there is a validation provider in the environment.

      Attachments

        Issue Links

          Activity

            People

              techhusky Jeremy Bauer
              techhusky Jeremy Bauer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: