[ 
https://issues.apache.org/jira/browse/OPENJPA-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982830#action_12982830
 ] 

Rick Curtis commented on OPENJPA-1926:
--------------------------------------

See if adding <class>net.wessendorf.enterprise.beans.PersistentObject</class> 
to your persistence.xml file helps.

Thanks,
Rick

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

Reply via email to