Community
Participate
Working Groups
Build Identifier: Version: 3.7.0 Build id: I20110613-1736 The use case is the following. In my .ecore, I have created an EEnum called YY, and an EClass called XX, having an EAttribute ZZ of type YY. My purpose is to generate the JPA annotated model code so that the attribute ZZ in class XX is annotated @Enumerated(EnumType.STRING). To do that I have created a .annotationsmodel with an Annotated EClass XX, with inside an Annotated EAttribute ZZ and inside a child Basic. In this 'Basic', I set the property Enumerated to String. The code generated is almost correct : @Enumerated(EnumeratedType.STRING) Except that EnumeratedType does not exists in the JPA 2 spec. It should be instead EnumType. My Texo version is 0.1.0.v201112171308 Reproducible: Always
Created attachment 210186 [details] Use case
Comment on attachment 210186 [details] Use case Attachement where (compared to the bug description) : YY is FormulaType XX is Formula ZZ is Formula.formulaType
Fix committed to git, will be in next build.
Build is done and published