[
https://issues.jboss.org/browse/FORGE-523?page=com.atlassian.jira.plugin....
]
Esteve Aviles commented on FORGE-523:
-------------------------------------
Hi,
If you try:
field custom --named enumAtt --type Y <-- without the .java
The field is created properly except for the enumerated annotation which is not included:
@Column
private Y enumAtt;
Regards
field plugin fails to create enum attribute
-------------------------------------------
Key: FORGE-523
URL:
https://issues.jboss.org/browse/FORGE-523
Project: Forge
Issue Type: Bug
Reporter: George Gastaldi
Having an entity named X and an enumeration named Y, running
{code}
field custom --named enumAtt --type Y.java
{code}
creates the following entry:
{code}
@Column
private java enumAtt;
.. getters and setters ...
{code}
it should read:
{code}
@Column
@Enumerated
private Y enumAtt;
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira