You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Tobias Rettstadt (JIRA)" <ji...@apache.org> on 2019/03/20 13:27:00 UTC

[jira] [Created] (OPENJPA-2780) ReverseMappingTool does not generate @Enumerated annotation

Tobias Rettstadt created OPENJPA-2780:
-----------------------------------------

             Summary: ReverseMappingTool does not generate @Enumerated annotation
                 Key: OPENJPA-2780
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2780
             Project: OpenJPA
          Issue Type: Bug
          Components: tooling
    Affects Versions: 3.0.0, 2.4.3, 2.4.2
            Reporter: Tobias Rettstadt


I use a customizer class that extends the PropertiesReverseCustomizer to set the EnumValueHandler with storeOrdinal set to "false" for all fields with enum types. Due to an error in the AnnotationPersistenceMappingSerializer the reverse mapping does not generate the expected @Enumerated annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)