[ 
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.

Reply via email to