I'm trying to figure out the same thing. I am using a "object_history" table to keep an audit trail of modifications to objects in my database. I use the same table for several classes of object. I have colums: objectClass, modificationDate, revisionId, objectXML
The 'objectXML' is generated using the code in chapter 19 of the Hibernate 3.0 manual
(
http://www.hibernate.org/hib_docs/v3/re ... nipulation)
However I havn't figured out how to convert the XML (in a String) back to an object yet. A pointer to some example would be great -- I've googled around quite a bit and havn't found anything to date.