We have hundreds of java Entities which are reverse engineered through Hibernate tools. The Entity classes seem to implement java.io.Serializable
interface, but doesn't have serialVersionUID
.
We are tasked with adding serialVersionUID
to these files (worst case, we'll have to do it manually). Is there some other way we can do it ? An ideal solution will be to do it in the reverse engineering step itself, but it's also okay to pass in the package name and add serialVersionUID
to the Entity classes.
We are using Hibernate 3.0