[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8586) Seam-gen creates domain serialized classes without serialVersionUID final attribute

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Mar 29 09:27:38 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592415#comment-12592415 ] 

Max Rydahl Andersen commented on JBIDE-8586:
--------------------------------------------

Adding a @SuppressWarning just because Eclipse warns about it and make users think its not important to consider serialVersionUID ?

netbeans, javac, intellij etc. does not complain about these afaik.

Only real solution is to find a way to reliably generate the serialversionUID ...anything else in between is bad.





> Seam-gen creates domain serialized classes without serialVersionUID final attribute
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-8586
>                 URL: https://issues.jboss.org/browse/JBIDE-8586
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate, Seam
>    Affects Versions: 3.2.0.Final
>         Environment: JBDS4/RHEL6
>            Reporter: Peter Larsen
>            Assignee: Dmitry Geraskov
>
> When reverse engineering a database (seamgen) the generated serialized classes generated are missing needed the serialVersionUID attribute. It has to be generated after seamgen has run.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list