-->
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.  [ 3 posts ] 
Author Message
 Post subject: Generating XML from hibernate
PostPosted: Mon Mar 15, 2004 12:04 am 
Regular
Regular

Joined: Thu Nov 20, 2003 10:04 pm
Posts: 64
Location: Melbourne, Australia
I'd like to be able to import and export my hibernate databases to and from XML. Hibernate seems to include enough meta data to allow this but I'm wondering about a few points:

1. Anyone else done this already?

2. Would it be better/easier to query the objects via reflection or to ask hibernate about the generated tables and export the data that from them directly?

3. Functions like getTableMappings() in Configuration are private. Is this really necessary? Is a patch to make them at least protected going to be accepted?

-- Glen


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 17, 2004 12:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Have a look at XMLDataBinder its a part the distribution. Some information is in the forum and on Ara's blog.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 17, 2004 8:52 pm 
Regular
Regular

Joined: Thu Nov 20, 2003 10:04 pm
Posts: 64
Location: Melbourne, Australia
Many thanks. This is very very helpful.

I knew I'd read about this somewhere before.[/quote]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.