Short question: how to discover the serialVersionUID of Objects that are in serialized form.
Detail: I have some serialized versions of Objects in a session database for a web application. For some of these objects, I failed to specify a serialVersionUID in the source code so the JVM created one for me. I want to discover what the serialVersionUID of the saved Objects are so that I can hard code it in my source files.
I have easy access to read the serialized data. I've already gone through and deleted the (old) sessions that won't read with the current versions of my code, so I know that every serialized object matches the current codebase.