[forge-issues] [JBoss JIRA] (FORGE-2126) jpa-new-field should not generate an empty @Column

Antonio Goncalves (JIRA) issues at jboss.org
Wed Nov 5 12:09:30 EST 2014


Antonio Goncalves created FORGE-2126:
----------------------------------------

             Summary: jpa-new-field should not generate an empty @Column
                 Key: FORGE-2126
                 URL: https://issues.jboss.org/browse/FORGE-2126
             Project: Forge
          Issue Type: Feature Request
          Components: Java EE
    Affects Versions: 2.12.1.Final
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


At the moment when we add a new field to an entity with all the default values, a {{@Column}} is generated. For example : 

{code}
jpa-new-field --name myField
{code}

The following code is generated 

{code}
@Column()
private String myField;
{code}

In this case, {{@Column}} is not needed and should not be generated




--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list