Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1926 Adding more commands to Forge and improve existing ones
  3. FORGE-2101

jpa-new-field command should have a --not-nullable attribute

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.12.2.Final
    • 2.12.1.Final
    • Java EE
    • None

    Description

      It would be good to be able to set the nullable attribute of a field on an entity. If you do :

      jpa-new-field --named title --nullable true;
      

      You will get :

      @Column(nullable = true)
      private String title;
      

      That's important for DDL generation

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: