This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes I/O and Streams and the fly likes What are factors that causes serialVersionUID changed .... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "What are factors that causes serialVersionUID changed ...." Watch "What are factors that causes serialVersionUID changed ...." New topic
Author

What are factors that causes serialVersionUID changed ....

Maneessh saxena
Ranch Hand

Joined: Oct 03, 2006
Posts: 125
hi great Ranchers,

I wanna know that what are the factors that causes serialVersionUID of a class changed. I am really confused about this.

Thanks & Regards


SCJP 1.4, SCWCD 1.5
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8873
    
    8

There are no "factors". The serialVersionUID identifies a particular version of a class. Change the class definition and the serialVersionUID changes.
Ensure Proper Version Control For Serialized Objects


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are factors that causes serialVersionUID changed ....