[
https://issues.jboss.org/browse/FORGE-1401?page=com.atlassian.jira.plugin...
]
George Gastaldi commented on FORGE-1401:
----------------------------------------
This is supposed to be used when the typeName is a wrapper class but you intend to use the
primitive version of it.
Eg: {{jpa-new-field --typeName Integer --named someNumber --primitive --entity Customer}}
will create a
private int someNumber; with its getters and setters.
What does --primitive do ?
--------------------------
Key: FORGE-1401
URL:
https://issues.jboss.org/browse/FORGE-1401
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.0.0.Beta4
Reporter: Antonio Goncalves
The {{jpa-new-field}} has a {{--primitive}} attribute but I don't know its usage.
First I thought it was the primitive datatype (int, float...) but this is the
{{--typeName}}.
{code}
[PurchaseOrder.java]$ jpa-new-field
--typeName --named --lob --relationshipType --entity --length --primitive
{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