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/01/24 07:19:59 UTC

[jira] Created: (OPENJPA-871) Support derived identity

Support derived identity 
-------------------------

                 Key: OPENJPA-871
                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
             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] Work started: (OPENJPA-871) Support derived identity

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

Work on OPENJPA-871 started by Fay Wang.

> Support derived identity 
> -------------------------
>
>                 Key: OPENJPA-871
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
>             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] Commented: (OPENJPA-871) Support derived identity

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672759#action_12672759 ] 

Pinaki Poddar commented on OPENJPA-871:
---------------------------------------

Please consider
1. for FieldMetaData.__mappedByIdValue following similar pattern as in FieldMetaData._mappedBy
    That is capture the data from parser as field name but resolve it to a metadata element in getter.

2. Document  for ApplicationIds.setKey() method

> Support derived identity 
> -------------------------
>
>                 Key: OPENJPA-871
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
>             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] Commented: (OPENJPA-871) Support derived identity

Posted by "Fay Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674835#action_12674835 ] 

Fay Wang commented on OPENJPA-871:
----------------------------------

1/ The item below has not yet been checked in/implemented:
    - Spec 2.4.1.2 Ex 5(a) and Ex 6(a)

    These two examples are for the IdClass rule in Spec 2.4.1.1. (page 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)."
   
    The implementation of this item will be deferred to Iteration 4.

2/ Issue that requires further clarification: Spec 2.4.1.2 Ex 2(b)
    suggested change is to add @Embeddable to EmployeeId to make it visible to DependentId. 




> Support derived identity 
> -------------------------
>
>                 Key: OPENJPA-871
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>


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


[jira] Resolved: (OPENJPA-871) Support derived identity

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

Fay Wang resolved OPENJPA-871.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> Support derived identity 
> -------------------------
>
>                 Key: OPENJPA-871
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (OPENJPA-871) Support derived identity

Posted by "Fay Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666838#action_12666838 ] 

Fay Wang commented on OPENJPA-871:
----------------------------------

This is related to MappedById support from Iteration 2, JIRA-851.

> Support derived identity 
> -------------------------
>
>                 Key: OPENJPA-871
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-871
>             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.