Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.CR2
    • Fix Version/s: 2.7.0.Final
    • Component/s: UI - Shell
    • Labels:
      None

      Description

      As per FORGE-797 it would be good to have a new command to create an embeddable :

       
      jpa-new-embeddable --named Address ;
      jpa-new-field --named street1 --length 50 ;
      jpa-new-field --named street2 ;
      jpa-new-field --named city --length 50 ;
      jpa-new-field --named state ;
      

      Then, how do we embed it into a entity ? We could have a new --relationshipType :

      jpa-new-entity --named Customer ;
      jpa-new-field --named address --entity org.agoncal.application.petstore.model.Address --relationshipType Embedded ;
      

      Except Address is not an entity. So having --entity pointing to an embeddable looks strange

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbriskar Matej Briskar
                  Reporter:
                  agoncal Antonio Goncalves
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: