George Gastaldi created FORGE-523:
-------------------------------------
Summary: 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