Generate serialVersionUID in Eclipse for serializable object



When it's a good time to generate this serialVersionUID (say in
Eclipse)?

- In the very beginning when creating this object class? and never
need to change again?
- Every time when changes to getter and setter method in this
class?
- if didn't create it at very first place, generate UID in the
middle of writing this class is ok?

Thanks,
Jimmy

.



Relevant Pages

  • Re: local class incompatible: stream classdesc
    ... I am using eclipse IDE and i have two different projects A and B. I ... Then I have another application, call it C, that uses the jar files of ... stream classdesc serialVersionUID = -3611946473283033478, ... University of Leicester, Leicester, LE1 7RH, UK ...
    (comp.lang.java.programmer)
  • Re: local class incompatible: stream classdesc
    ... I am using eclipse IDE and i have two different projects A and B. I ... Then I have another application, call it C, that uses the jar files of ... stream classdesc serialVersionUID = -3611946473283033478, ... Nigel Wade, System Administrator, Space Plasma Physics Group, ...
    (comp.lang.java.programmer)
  • Re: [Eclipse 3.1] serialVersionUID
    ... Ah und vergessen: Am 21.7 wurde hier ein Thread zu dem Thema gestartet: ... serialVersionUID in Eclipse ... Next by Date: ...
    (de.comp.lang.java)
  • serialver?
    ... OK, experienced developer, but new to Java (and eclipse, which is another ... of several of these existing ones and want to generate a serialVersionUID ...
    (comp.lang.java.programmer)