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

          Jeremy Bauer created issue -
          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.
          Tim McConnell made changes -
          Field Original Value New Value
          Attachment OPENJPA-1176-TESTCASE-1.patch [ 12413629 ]
          Tim McConnell made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Patch Info [Patch Available]
          Jeremy Bauer made changes -
          Link This issue relates to OPENJPA-773 [ OPENJPA-773 ]
          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!
          Jeremy Bauer made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Parent OPENJPA-1178 [ 12430735 ]
          Issue Type Bug [ 1 ] Sub-task [ 7 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          56d 1 Jeremy Bauer 09/Sep/09 20:36
          Resolved Resolved Closed Closed
          180d 22h 55m 1 Donald Woods 09/Mar/10 18:31

            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