Details
-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0
-
JBDS4
-
Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
-
ON_QA
Description
When creating entities from scratch, the seam-gen new entity will generate code with the the following:
@Version
private Integer version;
This construct unfortunately results in new records being created with NULL in the version column. On subsequent updates this then results in NullPointerException.
Changing Integer to int solves the problem.
Attachments
Issue Links
- relates to
-
JBIDE-8560 Unable to create component page.xml from wizard
- Closed
-
JBIDE-8559 Generated list.xhtml file uses undefined class "results"
- Closed