[forge-issues] [JBoss JIRA] (FORGE-1450) Cannot create an enum attribute on an Entity
Antonio Goncalves (JIRA)
issues at jboss.org
Tue Jan 28 12:35:28 EST 2014
[ https://issues.jboss.org/browse/FORGE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-1450:
-------------------------------------
Parent Issue: FORGE-1505 (was: FORGE-1387)
> Cannot create an enum attribute on an Entity
> --------------------------------------------
>
> Key: FORGE-1450
> URL: https://issues.jboss.org/browse/FORGE-1450
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> I've created a {{Language}} enum (with {{java-new-enum}}) and then I want my entity {{Book}} to have an attribute of type {{Language}}. In Forge 1.x I would do :
> {code}
> field custom --named language --type org.javaone.javaee7.model.Language.java ;
> {code}
> There is no such {{custom}} attribute in Forge 2.x and the following doesn't work :
> {code}
> jpa-new-field --named language --typeName org.javaone.javaee7.model.Language.java ;
> {code}
--
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