Skip to content

April 14, 2005

Serial Version UIDs

In my current project, we're struggling with serial version UIDs. Here are some links that shed a little light on the whole topic.
Portland Pattern Repository's Wiki states that all serializable classes should have a serial version UID assigned by the developer. An interesting observation ist that different compilers produce differnt UIDs for the same class.

SerialVer is a Sourceforge hosted project that provides ANT tasks for generating serial version UIDs.

The AndroMDA Hibernate Cartridge is currently lacking support for serial version UIDs, but I have filed an issue and hope it will be fixed soon.

Thanks for reading this post. Follow me on twitter here to be notified about updates and other posts I write. Or, subscribe to my RSS feed here

Fork me on GitHub
Read more from Java, MDA

Comments are closed.