OpenJPA
  1. OpenJPA
  2. OPENJPA-2146

StateManager for Embeddable may throw Exception while initializing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1
    • Fix Version/s: 2.0.3, 2.1.2, 2.2.1, 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      When a complex graph of nested Embeddable are used in an application data model, an issue may surface when the OpenJPA provider tries to instantiate an internal state manager that represents the nested Embeddable. This issue results in an exception. The Exception being thrown is based on a generalized assertion that the nested Embeddable does not have an identity associated to it since it is embedded in some entity which bears the identity.

      Sample Exception:

      <openjpa-2.0.2-SNAPSHOT-r422266:1084264 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Cannot manipulate identity of type "<embeddable classname>": it's identity type is unknown.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jody Grassel
            Reporter:
            Jody Grassel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development