XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.0.0.Beta4
    • None
    • UI - Shell
    • None

    Description

      When I create a new field on an existing entity I write this :

      jpa-new-field --entity org.model.Test --fieldName lastname --typeName String
      ***SUCCESS*** Field lastname created
      

      If I don't write String the command doesn't give me completion. I would expect that writing the following and hitting TAB would give me some basic datatypes (String, int, float...)

      jpa-new-field --entity org.model.Test --fieldName lastname --typeName
      

      And why not having String as the default type ? This command would create a lastname of type String by default :

      jpa-new-field --entity org.model.Test --fieldName lastname
      

      Instead I have an error saying that "Type must be specified"

      jpa-new-field --entity org.model.Test --fieldName lastname
      Type must be specified
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: