You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jay D. McHugh (JIRA)" <ji...@apache.org> on 2007/04/17 22:59:15 UTC

[jira] Created: (OPENJPA-220) Examples of using ElementJoinColumn show the wrong usage

Examples of using ElementJoinColumn show the wrong usage
--------------------------------------------------------

                 Key: OPENJPA-220
                 URL: https://issues.apache.org/jira/browse/OPENJPA-220
             Project: OpenJPA
          Issue Type: Bug
          Components: docs
    Affects Versions: 0.9.7
            Reporter: Jay D. McHugh
            Priority: Minor


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>")

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-220) Examples of using ElementJoinColumn show the wrong usage

Posted by "Jay D. McHugh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay D. McHugh updated OPENJPA-220:
----------------------------------

    Attachment: openjpa-220.patch

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.

> Examples of using ElementJoinColumn show the wrong usage
> --------------------------------------------------------
>
>                 Key: OPENJPA-220
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-220
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 0.9.7
>            Reporter: Jay D. McHugh
>            Priority: Minor
>         Attachments: openjpa-220.patch
>
>
> 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>")

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.