Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-523

field plugin fails to create enum attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.3.Final
    • 1.0.2.Final
    • None
    • None
    • Workaround Exists
    • Hide

      Remove the ".java" at the end of the command. However, the auto-completion feature in Forge console places that automatically

      Show
      Remove the ".java" at the end of the command. However, the auto-completion feature in Forge console places that automatically

    Description

      Having an entity named X and an enumeration named Y, running

      field custom --named enumAtt --type Y.java
      

      creates the following entry:

      @Column
      private java enumAtt;
      
      .. getters and setters ...
      

      it should read:

      @Column
      @Enumerated
      private Y enumAtt;
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: