OpenJPA
  1. OpenJPA
  2. OPENJPA-2128

Add a boolean to FieldMetaData to denote whether or not a field has a @EmbeddedId annotation.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      When an Entity has a @EmbeddedId annotation / xml mapping we don't have an easy way to figure out that the field is an EmbeddedId. With this JIRA I'm going to add an additional boolean to FieldMetaData to denote an EmbeddedId.

        Activity

        Hide
        Rick Curtis added a comment -

        Closing this JIRA as invalid.

        When I started to prepare my code changes I found that FieldMetaData.getEmbeddedMapping() in conjunction with FieldMetaData.isPrimaryKey() I can infer whether or not a field is an EmbeddedId.

        Show
        Rick Curtis added a comment - Closing this JIRA as invalid. When I started to prepare my code changes I found that FieldMetaData.getEmbeddedMapping() in conjunction with FieldMetaData.isPrimaryKey() I can infer whether or not a field is an EmbeddedId.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development