[forge-issues] [JBoss JIRA] (FORGE-1398) Being able to create embeddables
Antonio Goncalves (JIRA)
issues at jboss.org
Wed Jan 22 12:14:28 EST 2014
[ https://issues.jboss.org/browse/FORGE-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-1398:
-------------------------------------
Parent Issue: FORGE-1491 (was: FORGE-1433)
> Being able to create embeddables
> --------------------------------
>
> Key: FORGE-1398
> URL: https://issues.jboss.org/browse/FORGE-1398
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> As per [FORGE-797] it would be good to have a new command to create an embeddable :
> {code}
> 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 ;
> {code}
> Then, how do we embed it into a entity ? We could have a new {{--relationshipType}} :
> {code}
> jpa-new-entity --named Customer ;
> jpa-new-field --named address --entity org.agoncal.application.petstore.model.Address --relationshipType Embedded ;
> {code}
> Except {{Address}} is not an entity. So having {{--entity}} pointing to an embeddable looks strange
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list