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

Wrong PersistentAttributeType returned for @Embedded types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: jpa
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Attribute.getPersistentAttributeType() should return PersistentAttributeType.EMBEDDED for @Embedded types.
      It returns PersistentAttributeType.ONE_TO_ONE now.

      I guess this also has effects on Attribute.isAssociation() which returns true for @Embedded types.

        Attachments

          Activity

            People

            • Assignee:
              faywang Fay Wang
              Reporter:
              oringel Oliver Ringel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: