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:26:48 UTC

[jira] [Created] (CAY-1851) Generate default serialVersionUID for generated java classes to avoid eclipse warnings

Andrus Adamchik created CAY-1851:
------------------------------------

             Summary: 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 the DataMap. 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