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

Wrong PersistentAttributeType returned for @Embedded types

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • jpa
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment