XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.7.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • 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

      Attachments

        Issue Links

          Activity

            People

              mbriskar_jira Matej Briskar (Inactive)
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: