-
Sub-task
-
Resolution: Done
-
Major
-
2.0.0.CR2
-
None
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
- is related to
-
FORGE-1108 Add support in the Scaffold-X Forge Inspector for scanning @Embeddable and @Embedded types
- Closed
- relates to
-
FORGE-797 Scaffolding @Embeddable
- Open