Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-M3
    • Component/s: jpa
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      OpenJPA versions prior to 2.0 allowed properties marked as private to be persistent. This is contrary to the JPA specification which states that properties must be public or protected. OpenJPA 2.0 will adhere to the specification by default, but a compatibility option will be added to allow the old behavior.

        Issue Links

          Activity

          Hide
          Jeremy Bauer added a comment -

          Committed updated version of OPENJPA-1176-TESTCASE-1.patch for Tim under revision 795156. Updates: Moved code into existing package and made updates to the test and enhancer.xml for the new option. Thanks for the additional test!

          Show
          Jeremy Bauer added a comment - Committed updated version of OPENJPA-1176 -TESTCASE-1.patch for Tim under revision 795156. Updates: Moved code into existing package and made updates to the test and enhancer.xml for the new option. Thanks for the additional test!
          Hide
          Tim McConnell added a comment - - edited

          Thanks for the JIRA Jeremy. Here is the testcase I've been using to demonstrate this failure. It fails on trunk but works fine on 1.2.x. I will likely have others as well. Thanks.

          Show
          Tim McConnell added a comment - - edited Thanks for the JIRA Jeremy. Here is the testcase I've been using to demonstrate this failure. It fails on trunk but works fine on 1.2.x. I will likely have others as well. Thanks.

            People

            • Assignee:
              Jeremy Bauer
              Reporter:
              Jeremy Bauer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development