You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (Closed) (JIRA)" <ji...@apache.org> on 2012/02/13 20:47:00 UTC

[jira] [Closed] (OPENJPA-2128) Add a boolean to FieldMetaData to denote whether or not a field has a @EmbeddedId annotation.

     [ https://issues.apache.org/jira/browse/OPENJPA-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis closed OPENJPA-2128.
--------------------------------

    Resolution: Invalid

Closing this JIRA as invalid. 

When I started to prepare my code changes I found that FieldMetaData.getEmbeddedMapping() in conjunction with FieldMetaData.isPrimaryKey() I can infer whether or not a field is an EmbeddedId.
                
> Add a boolean to FieldMetaData to denote whether or not a field has a @EmbeddedId annotation.
> ---------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2128
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2128
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>    Affects Versions: 2.2.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.2.0
>
>
> When an Entity has a @EmbeddedId annotation / xml mapping we don't have an easy way to figure out that the field is an EmbeddedId. With this JIRA I'm going to add an additional boolean to FieldMetaData to denote an EmbeddedId.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira