[seam-issues] [JBoss JIRA] Moved: (JBSEAM-4802) SEAM Entity creator uses Integer for @Version - results in NullPointerException on update
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Tue Apr 19 04:59:36 EDT 2011
[ https://issues.jboss.org/browse/JBSEAM-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen moved JBIDE-8558 to JBSEAM-4802:
----------------------------------------------------
Project: Seam 2 (was: Tools (JBoss Tools))
Key: JBSEAM-4802 (was: JBIDE-8558)
Assignee: (was: Alexey Kazakov)
Component/s: Tools
(was: Seam)
(was: UpStream)
Fix Version/s: (was: LATER)
> SEAM Entity creator uses Integer for @Version - results in NullPointerException on update
> -----------------------------------------------------------------------------------------
>
> Key: JBSEAM-4802
> URL: https://issues.jboss.org/browse/JBSEAM-4802
> Project: Seam 2
> Issue Type: Bug
> Components: Tools
> Environment: JBDS4
> Reporter: Peter Larsen
>
> When creating entities from scratch, the "Create SEAM Entity" wizard 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list