title: Programmatically Adding SerialVersion Ids for Java files
body: <p>We have hundreds of java Entities which are reverse engineered through Hibernate tools. The Entity classes seem to implement <code>java.io.Serializable</code> interface, but doesn't have <code>serialVersionUID</code>. </p>
  
  <p>We are tasked with adding <code>serialVersionUID</code>  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 <code>serialVersionUID</code> to the Entity classes.</p>
  
  <p>We are using Hibernate 3.0</p>