[
https://issues.apache.org/jira/browse/OPENJPA-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983055#action_12983055
]
Matthias Weßendorf commented on OPENJPA-1926:
---------------------------------------------
Yes, that works - but I thought that only @Entity beans belong there.
(note, with EclipseLink 2.2.1 I don't have to do taht)
> 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
> 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.