Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9149345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:27:52+00:00 2026-06-17T11:27:52+00:00

I frequently use the Eclipse quick fix to generate a serial version UID for

  • 0

I frequently use the Eclipse quick fix to generate a serial version UID for serializable classes.

Is there any way to do this by default?

It’s one extra click, but with Eclipse selecting quick fixes is generally slowish, and I always generate serial version UID:s when I implement serializable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:27:53+00:00Added an answer on June 17, 2026 at 11:27 am

    This is perhaps not the answer you’re looking for. Presumably, you use Eclipse to generate the same special value that Java would automatically calculate for your class if you didn’t explicitly specify it, something like:

        private static final long serialVersionUID = 4125965356358329466L;
    

    But there’s no good reason to rely on this same algorithm for newly authored classes. What matters is you specify a value, any value. So why not simply do the following?

        private static final long serialVersionUID = 1L;
    

    You could then put this code in Eclipse’s new class template.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When you use any class or any function in eclipse, there's small dialog that
I use a lot of eclipse shortcuts, but for some tasks there arnt any
When I use Eclipse's Ctrl-Shift-o to organize imports, Ctrl-1 for quick-fix, or alt-space to
When I use VIM or most modeless editors (Eclipse, NetBeans etc.) I frequently do
I use cast() from the reshape package quite frequently. Almost every time, this warning
I have a program i frequently use that is made with .NET. This program
I very frequently use logic something like this when writing to normalised databases. In
I'm a working with eclipse in Ubuntu. In eclipse, i frequently use a shortcut
I frequently use this CSS selector parent>child. My design looks good in Mozilla and
I frequently use git stash and git stash pop to save and restore changes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.