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

@ManyToOne is never output with referencedColumnName attribute, even when called for

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • tooling
    • None

    Description

      AnnotationPersistenceMappingSerializer decides whether or not to include the referencedColumnName attribute in the @ManyToOne annotation based on whether the column passed to the serializeColumn() method has a non-null value for getTarget() (see line 544 or thereabouts). But the kind of column that is passed to this method will never have a target, as far as I can tell. Consequently it looks like referencedColumnName can never be output.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ljnelson Laird Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: