You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Matthias Weßendorf (JIRA)" <ji...@apache.org> on 2011/01/17 18:51:46 UTC

[jira] Updated: (OPENJPA-1926) ClassCastException - org.apache.openjpa.util.Id cannot be cast to org.apache.openjpa.util.StringId

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

Matthias Weßendorf updated OPENJPA-1926:
----------------------------------------

    Attachment: OPENJPA-1926.zip

A simple web application that demonstrates the issue

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