Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    0

    Default Generating serialVersionIDs using Eclipse (Helios) plugin

    Hi,

    I've generated java beans for database using hibernate plug-in. The generated beans are implements Serializable interface. But the problem none of the beans has the generated serialVersionIDs in it. Is there any way to automatically generate serialVersionId for all the beans or Did I miss some any thing while generate beans & hibernate to get these generated. Any help is appreciated.

    Thanks,
    Bhushan

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    786
    Rep Power
    5

    Default

    I don`t know how you can do that with the plugin, but in eclipse you can say something like: Generate serialVersionID for all my classes where it is missing.

    Source -> Clean Up -> Create a new profile with "Missing Code" : Add missing serial versionID (generated)

    Maybe that is an option for you ?

  3. #3
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Replies: 1
    Last Post: 02-19-2011, 10:34 PM
  2. Replies: 4
    Last Post: 12-21-2010, 03:26 PM
  3. Replies: 0
    Last Post: 12-16-2010, 10:14 AM
  4. Hibernate perspective in Eclipse Helios
    By redforce.bala in forum Eclipse
    Replies: 0
    Last Post: 10-01-2010, 07:55 AM
  5. Problem with running eclipse-jee-helios-win32-x86_64
    By rohit_mali55@yahoo.in in forum Eclipse
    Replies: 2
    Last Post: 09-09-2010, 03:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •