Why generate long serialVersionUID instead of a simple 1L?

When class implements Serializable in Eclipse, I have two options: add default serialVersionUID(1L) or generated serialVersionUID(3567653491060394677L). I think that first one is cooler, but many times I saw people using the second option. Is there any reason to generate long serialVersionUID? 11 Answers 11

Seeking useful Eclipse Java code templates [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 8 years ago. The community reviewed whether to reopen this question 5 months ago and left it closed: Original close reason(s) … Read more

What is the best way to auto-generate INSERT statements for a SQL Server table?

We are writing a new application, and while testing, we will need a bunch of dummy data. I’ve added that data by using MS Access to dump excel files into the relevant tables. Every so often, we want to “refresh” the relevant tables, which means dropping them all, re-creating them, and running a saved MS … Read more