[forge-issues] [JBoss JIRA] (FORGE-1444) jpa-new-field --entity disapearing on TAB completion

Antonio Goncalves (JIRA) issues at jboss.org
Wed Jan 15 16:14:32 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Goncalves updated FORGE-1444:
-------------------------------------

        Summary: jpa-new-field --entity disapearing on TAB completion  (was: jpa-new-field --typeName disapearing on TAB completion)
    Description: 
I want to create a One-to-Many relationship. When I type the following and hit TAB, I get the {{--entity}} parameter

{code}
[Talk.java]$ jpa-new-field --named speakers --
--typeName  --lob  --relationshipType  --entity  --length  --primitive
{code}

But if I set the relationship first, and then hit TAB, the {{--entity}} parameter doesn't show

{code}
[Talk.java]$ jpa-new-field --named speakers --relationshipType One-to-Many --
--inverseFieldName  --cascadeType  --fetchType  --required
{code}

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



  was:
I want to create a One-to-Many relationship. When I type the following and hit TAB, I get the {{--typeName}} parameter

{code}
[Talk.java]$ jpa-new-field --named speakers --
--typeName  --lob  --relationshipType  --entity  --length  --primitive
{code}

But if I set the relationship first, and then hit TAB, the {{--typeName}} parameter doesn't show

{code}
[Talk.java]$ jpa-new-field --named speakers --relationshipType One-to-Many --
--inverseFieldName  --cascadeType  --fetchType  --required
{code}

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




    
> jpa-new-field --entity disapearing on TAB completion
> ----------------------------------------------------
>
>                 Key: FORGE-1444
>                 URL: https://issues.jboss.org/browse/FORGE-1444
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - Shell
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Antonio Goncalves
>             Fix For: 2.x Future
>
>
> I want to create a One-to-Many relationship. When I type the following and hit TAB, I get the {{--entity}} parameter
> {code}
> [Talk.java]$ jpa-new-field --named speakers --
> --typeName  --lob  --relationshipType  --entity  --length  --primitive
> {code}
> But if I set the relationship first, and then hit TAB, the {{--entity}} parameter doesn't show
> {code}
> [Talk.java]$ jpa-new-field --named speakers --relationshipType One-to-Many --
> --inverseFieldName  --cascadeType  --fetchType  --required
> {code}
> 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

--
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