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

Richard Zowalla resolved OPENJPA-2219.
--------------------------------------
    Resolution: Fixed

Fixed on master by OPENJPA-2992 (5d0162381); part of 4.2.0.

> warn if a "class" listed in persistence unit is an enum and ignore it in 
> mappings
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2219
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2219
>             Project: OpenJPA
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Romain Manni-Bucau
>            Priority: Major
>             Fix For: 4.2.0
>
>
> With some other vendor enum are often listed in persistence unit and 
> migrating to openjpa we need to remove enum from the persistence unit.
> I have no issue with this behavior but ignoring the enum in mappings will 
> make it work out of the box and warning the user (instead of waiting the 
> exception which is not so obvious "no metadata") is probably a nice 
> enhancement



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to