[hibernate-issues] [Hibernate-JIRA] Created: (ANN-769) Ignore unmapped enum values - org.hibernate.type.EnumType throws exceptions when trying to map unknown values to an Enum

Alvin (JIRA) noreply at atlassian.com
Sun Aug 24 21:17:50 EDT 2008


Ignore unmapped enum values - org.hibernate.type.EnumType throws exceptions when trying to map unknown values to an Enum
------------------------------------------------------------------------------------------------------------------------

                 Key: ANN-769
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-769
             Project: Hibernate Annotations
          Issue Type: Improvement
    Affects Versions: 3.4.0.GA
            Reporter: Alvin


The issue is described in a previous Jira - http://opensource.atlassian.com/projects/hibernate/browse/ANN-717.

To solve this particular scenario could we add either (unless someone has a more correct method) -
- an attribute to the @Enumerated annotation so that ignores values in the database which are not mapped via the Enum
- extend @NotFound annotation so it also works on enums


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list