OpenJPA
  1. OpenJPA
  2. OPENJPA-220

Examples of using ElementJoinColumn show the wrong usage

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Labels:
      None

      Description

      The example in the online manual shows the usage as:
      @ElementJoinColumn(name="<child table ref column>" target="<parent table ref column>")

      This should be:
      @ElementJoinColumn(name="<child table ref column>" referencedColumnName="<parent table ref column>")

      1. openjpa-220.patch
        0.5 kB
        Jay D. McHugh

        Activity

        Hide
        Jay D. McHugh added a comment -

        This patch corrects the syntax in the ref_guide_mapping.xml file.

        I don't know where else this should be corrected.

        I could not find any other places where a code example or list of attributes was given.

        Show
        Jay D. McHugh added a comment - This patch corrects the syntax in the ref_guide_mapping.xml file. I don't know where else this should be corrected. I could not find any other places where a code example or list of attributes was given.
        Hide
        Jay D. McHugh added a comment -

        Unless the syntax of this annotation has changed - the documentation is still wrong.

        I'm not sure whether this patch will still work, but - could someone take a look at this?

        Thanks

        Show
        Jay D. McHugh added a comment - Unless the syntax of this annotation has changed - the documentation is still wrong. I'm not sure whether this patch will still work, but - could someone take a look at this? Thanks
        Hide
        Pinaki Poddar added a comment -

        SVN Revision 676584

        Show
        Pinaki Poddar added a comment - SVN Revision 676584

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Jay D. McHugh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development