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

jpa-new-field should not generate an empty @Column

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • 3.x Future
    • 2.12.1.Final
    • Java EE
    • None

    Description

      At the moment when we add a new field to an entity with all the default values, a @Column is generated. For example :

      jpa-new-field --name myField
      

      The following code is generated

      @Column()
      private String myField;
      

      In this case, @Column is not needed and should not be generated

      Attachments

        Activity

          People

            Unassigned Unassigned
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: