Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1052 OpenJPA 2.0 iteration 7 primary task
  3. OPENJPA-1114

Bean Validation APIs should be an optional runtime dependency

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M2
    • validation
    • None
    • Patch Available

    Description

      Bean Validation APIs should be an optional runtime dependency by using reflection to determine if the APIs are available before accessing our ValidatorImpl class or any javax.validation.* API classes.
      openjpa-persistence will set scope=provided on geronimo-validation_1.0_spec
      openjpa-all will include the spec in the aggregated all jar
      openjpa-persistence-jdbc will not add a test dependency on the spec
      openjpa-integration will be used to test the validation support via OPENJPA-1106

      Attachments

        1. openjpa-1114.2.txt
          12 kB
          Pinaki Poddar
        2. OPENJPA-1114.patch
          10 kB
          Donald Woods
        3. OPENJPA-1114.patch
          9 kB
          Donald Woods

        Issue Links

          Activity

            People

              drwoods Donald Woods
              drwoods Donald Woods
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: