I have a general question about Hibernate functionality using dom4j sessions.
This is how I understand it works (and have it working thus far):
I am able to take a populated database, and dump it to xml data sheets using dom4j elements.
I am able to update the dom4j elements returned from my dom4jsession queries and update the sheets with those changes (hibernate also updates the DB automatically under the covers).
This is what I need:
I am looking for a way to dump my database using the dom4j session into an xml format. (check :) )
I need to save this xml to a cd and move this to a different location.
This requires a way in hibernate to read these xml sheets into hibernate (I assume using dom4jsessions) and repopulate a blank db from them.
I have looked in a few hibernate books, as well as in the hibernate docs to no avail.
Does anyone know a way of doing this, or have a link I can check out? Please let me know if I need to clarify anything.
Thanks,
Jeff
|