This question is an exact duplicate of:
Ironically, answered by Michael Bogswardt as well.
Michael Bogswardt‘s answer to generating a serialVersionUID got me thinking. Is there any reason to generate a proper serialVersionUID like eclipse and IDEA (or just plain serialver)? Or is plugging in a 1L just as good?
The only use of a “real” serialVersionUID is for backword compatibility. If it is a new class, use whatever numbering system you want.
Personally I think using a simple number scheme will make it easier to read and compare changes of that number between versions. The hash value creating by the tooling is fine for a machine, but not human friendly. A simple one up numbering scheme works great for both, after all, the machine doesn’t care one way or the other.