Romain Manni-Bucau created OPENJPA-2219:
-------------------------------------------

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to