Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-677

Single Table Inheritance Strategy causes entity identity issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2.0, 1.2.1, 1.3.0
    • 1.2.3, 1.3.0, 2.0.0-M1
    • None
    • None
    • IBM Java 1.5

    Description

      Entity objects that are pulled out from the database using bean methods (get*()) are not the same objects that are pulled out using using other methods(find(), getReference()).

      This occurs only when using Single Table Inheritance.

      This works on 0.9.7, in other versions Exception is thrown (https://issues.apache.org/jira/browse/OPENJPA-494) , in latest version from trunk test fails.

      Attachments

        1. TestJPAIdentityWhenSingleTable.zip
          13 kB
          Przemek Koprowski

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            corp Przemek Koprowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: