Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1491 Perform a review of Forge 2.x
  3. FORGE-1444

jpa-new-field --entity disapearing on TAB completion

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.x Future
    • 2.0.0.CR2
    • UI - Shell
    • None

    Description

      I want to create a One-to-Many relationship. When I type the following and hit TAB, I get the --entity parameter

      [Talk.java]$ jpa-new-field --named speakers --
      --typeName  --lob  --relationshipType  --entity  --length  --primitive
      

      But if I set the relationship first, and then hit TAB, the --entity parameter doesn't show

      [Talk.java]$ jpa-new-field --named speakers --relationshipType One-to-Many --
      --inverseFieldName  --cascadeType  --fetchType  --required
      

      Looks like there is an order on the parameters (e.g. if you enter one, then something else doesn't show up), but it's not very clear

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: