-->
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: Marshalling object graph to XML
PostPosted: Wed Mar 09, 2005 5:58 pm 
Newbie

Joined: Tue Mar 08, 2005 6:04 pm
Posts: 4
Hi all,

I would like to select a record from a certain table as well as every linked record in other tables. Is it possible to create an XML string from a whole object tree using the XML mapping feature of Hibernate 3?

If possible can you give me some code snippets doing this kind of things?

Thanks in advance,
Johan,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 10, 2005 3:39 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
for hibernate2:http://www.hibernate.org/186.html

about H3 xml/relationnal mapping, check the reference guide + unit tests

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 10, 2005 4:30 am 
Newbie

Joined: Tue Mar 08, 2005 6:04 pm
Posts: 4
Can you please post or point me to some example code?

Thanks in advance,


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.