You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2008/02/05 22:31:07 UTC

[jira] Updated: (OPENJPA-509) MappedSuperClass-Entity-Embedded domain model fails during insert

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

Pinaki Poddar updated OPENJPA-509:
----------------------------------

    Attachment: patch-509.1.txt

Patch ignores primary key field of a Embedded field while inserting. 

> MappedSuperClass-Entity-Embedded domain model fails during insert 
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-509
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-509
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Pinaki Poddar
>         Attachments: patch-509.1.txt
>
>
> OpenJPA User forum reported a problem with a domain model where entity X extends MappedSuperClass M and X embeds Y. M is using generated value as identity.
> The problem appears on insertion of new instance of X.
>    
>                  http://www.nabble.com/Problem-with-MappedSuperclass-Entity-Embeddable-object-graph-to15298457.html#a15298457
> The error has been confirmed and attached patch fixes it.

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