]
George Gastaldi updated FORGE-2101:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Assignee: Antonio Goncalves
Fix Version/s: 2.12.2.Final
(was: 2.x Future)
Resolution: Done
jpa-new-field command should have a --nullable attribute
--------------------------------------------------------
Key: FORGE-2101
URL:
https://issues.jboss.org/browse/FORGE-2101
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.12.1.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Fix For: 2.12.2.Final
It would be good to be able to set the nullable attribute of a field on an entity. If you
do :
{code}
jpa-new-field --named title --nullable true;
{code}
You will get :
{code}
@Column(nullable = true)
private String title;
{code}
That's important for DDL generation