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

field plugin fails to create enum attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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;
      

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

                Created:
                Updated:
                Resolved: