You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Fay Wang (JIRA)" <ji...@apache.org> on 2009/02/20 19:27:01 UTC

[jira] Created: (OPENJPA-931) Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))

Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))
------------------------------------------------------

                 Key: OPENJPA-931
                 URL: https://issues.apache.org/jira/browse/OPENJPA-931
             Project: OpenJPA
          Issue Type: Sub-task
            Reporter: Fay Wang
            Assignee: Fay Wang




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


[jira] Updated: (OPENJPA-931) Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))

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

Fay Wang updated OPENJPA-931:
-----------------------------

    Attachment: OPENJPA-931.patch

This patch is for the implementation of spec 2.4.1.1 (p.27):

If an Id attribute in the entity is a many-to-one or one-to-one reference to a parent entity, the type of the corresponding attribute in the id class must be the same Java type as the id class or embedded id of the parent entity (if the parent entity has a composite primary key) or the type of the Id attribute of the parent entity (if the parent entity has a simple primary key).

Example 5 Case(a) and Example 6 Case (a) demonstrate the above rules.

> Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))
> ------------------------------------------------------
>
>                 Key: OPENJPA-931
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-931
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>         Attachments: OPENJPA-931.patch
>
>


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


[jira] Updated: (OPENJPA-931) Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))

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

Fay Wang updated OPENJPA-931:
-----------------------------

    Attachment: OPENJPA-931-testcase.patch

> Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))
> ------------------------------------------------------
>
>                 Key: OPENJPA-931
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-931
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>         Attachments: OPENJPA-931-testcase.patch, OPENJPA-931.patch
>
>


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


[jira] Work started: (OPENJPA-931) Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))

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

Work on OPENJPA-931 started by Fay Wang.

> Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))
> ------------------------------------------------------
>
>                 Key: OPENJPA-931
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-931
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>


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


[jira] Resolved: (OPENJPA-931) Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))

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

Fay Wang resolved OPENJPA-931.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> Support derived identity (spec 2.4.1.2 Ex 5(a), 6 (a))
> ------------------------------------------------------
>
>                 Key: OPENJPA-931
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-931
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-931-testcase.patch, OPENJPA-931.patch
>
>


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