-->
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.  [ 1 post ] 
Author Message
 Post subject: Best way to persist data in XML file to database
PostPosted: Mon Jun 08, 2009 1:11 pm 
Newbie

Joined: Mon Jun 08, 2009 1:00 pm
Posts: 1
I have data in xml file and want to persist all data into database. What is the best way to do this?
Example of xml data file:
<products>
<product prod_id="1" sku="1234">
<description>Thermometer</description>
<list_price>100.00</list_price>
<drop_price>60.00</drop_price>
</product>
</products>

The xml document conforms to a schema (.xsd file). Can I use the .xsd file to validate the data?


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

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.