[
https://issues.apache.org/jira/browse/OPENJPA-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983321#action_12983321
]
Matthias Weßendorf commented on OPENJPA-1926:
---------------------------------------------
The thing tha bugs me, is that in other JPA impls it works; quite handy
Especially since my listed @Entity classes are inheriting (directly) from my
@MappedSuperClass class
> ClassCastException - org.apache.openjpa.util.Id cannot be cast to
> org.apache.openjpa.util.StringId
> --------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-1926
> URL: https://issues.apache.org/jira/browse/OPENJPA-1926
> Project: OpenJPA
> Issue Type: Bug
> Reporter: Matthias Weßendorf
> Assignee: Rick Curtis
> Fix For: 2.0.1
>
> Attachments: EclipseLinkCfg.zig, OPENJPA-1926.zip
>
>
> I am getting an ClassCastException (org.apache.openjpa.util.Id cannot be cast
> to org.apache.openjpa.util.StringId)
> when using @Id (and @GeneratedValue) in an (abstract) @MappedSuperclass, that
> is extended by an abstract @Entity bean.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.