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

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

      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

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

                Created:
                Updated:
                Resolved: