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

Single Table Inheritance Strategy causes entity identity issues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0, 1.2.1, 1.3.0
    • Fix Version/s: 1.2.3, 1.3.0, 2.0.0-M1
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: