You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jody Grassel (Work started) (JIRA)" <ji...@apache.org> on 2012/02/27 23:19:50 UTC

[jira] [Work started] (OPENJPA-2146) StateManager for Embeddable may throw Exception while initializing

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

Work on OPENJPA-2146 started by Jody Grassel.

> StateManager for Embeddable may throw Exception while initializing
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-2146
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2146
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1
>            Reporter: Jody Grassel
>            Assignee: Jody Grassel
>
> When a complex graph of nested Embeddable are used in an application data model, an issue may surface when the OpenJPA provider tries to instantiate an internal state manager that represents the nested Embeddable. This issue results in an exception.  The Exception being thrown is based on a generalized assertion that the nested Embeddable does not have an identity associated to it since it is embedded in some entity which bears the identity.
> Sample Exception:
> <openjpa-2.0.2-SNAPSHOT-r422266:1084264 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Cannot manipulate identity of type "<embeddable classname>": it's identity type is unknown.                                                              

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