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

Daniel Kulesz updated OPENJPA-1199:
-----------------------------------

    Attachment: jpatest.zip

example code demonstrating the problem

> Mapping maps changes statically declared types during runtime without warning
> -----------------------------------------------------------------------------
>
>                 Key: OPENJPA-1199
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1199
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: Ubuntu 9.04 x86_64 / 
> jdk-7-ea-bin-b62-linux-x64-25_jun_2009.bin
>            Reporter: Daniel Kulesz
>         Attachments: jpatest.zip
>
>
> When using map mapping in OpenJPA, statically declared types in Sets are 
> changed to types of attributes they refer to in other Entities during runtime 
> without warning. This can  lead to (rather unexpected) Class cast exceptions. 
> The attached (commented) example code demonstrates the problem.

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