-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Database to xml export/import using dom4j sess entity-mode
PostPosted: Thu Nov 06, 2008 9:59 am 
Newbie

Joined: Thu Nov 06, 2008 9:51 am
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2008 7:35 am 
Newbie

Joined: Fri Nov 07, 2008 7:32 am
Posts: 5
Hi,
can you explain me how do you export db data in xml format?
I need to do an export/import tool for my db using hiobernate, but i don't know how :(

please...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2008 7:37 am 
Newbie

Joined: Fri Nov 07, 2008 7:32 am
Posts: 5
Hi,
can you explain me how do you export db data in xml format?
I need to do an export/import tool for my db using hibernate, but i don't know how :(

please...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2008 7:37 am 
Newbie

Joined: Fri Nov 07, 2008 7:32 am
Posts: 5
Hi,
can you explain me how do you export db data in xml format?
I need to do an export/import tool for my db using hiobernate, but i don't know how :(

please...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.