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

Tobias Rettstadt updated OPENJPA-2780:
--------------------------------------
    Description: 
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.

I forked the repository and commited a bug fix, but I am not able to create a 
pull request because nothing happens if I click on the button "Create pull 
request". Instead I included a screenshot of the change. You can also find my 
fork here: https://github.com/trettstadtnlb/openjpa

  !image-2019-03-20-14-41-07-769.png!

  was:
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.

I forked the repository and commited a bug fix, but I am not able to create a 
pull request because nothing happens if I click on the button "Create pull 
request". Instead I included a screenshot of the change.

 


> 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: 2.4.2, 2.4.3, 3.0.0
>            Reporter: Tobias Rettstadt
>            Priority: Minor
>         Attachments: image-2019-03-20-14-41-07-769.png
>
>
> 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.
> I forked the repository and commited a bug fix, but I am not able to create a 
> pull request because nothing happens if I click on the button "Create pull 
> request". Instead I included a screenshot of the change. You can also find my 
> fork here: https://github.com/trettstadtnlb/openjpa
>   !image-2019-03-20-14-41-07-769.png!



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

Reply via email to