You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/07/18 15:42:48 UTC
[jira] [Closed] (CAY-1851) Generate default serialVersionUID for
generated java classes to avoid eclipse warnings
[ https://issues.apache.org/jira/browse/CAY-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1851.
--------------------------------
Resolution: Fixed
> Generate default serialVersionUID for generated java classes to avoid eclipse warnings
> --------------------------------------------------------------------------------------
>
> Key: CAY-1851
> URL: https://issues.apache.org/jira/browse/CAY-1851
> Project: Cayenne
> Issue Type: Improvement
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.2M2
>
>
> Here is a discussion on this:
> http://markmail.org/message/bts4mf7dsayg3b2l
> I think adding the default placeholder to both subclass and superclass for CayenneDataObject descendants is the right thing to do now. None of them have any own state by default:
> private static final long serialVersionUID = 1L;
> It is trickier with ROP classes that are the descendants of PersistentObject. As superclass state depends on their ObjEntity attributes/relationships set. I guess we'll ignore the ROP super-classes for now and only add that to subclasses.
--
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