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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira