-----Original Message-----
From: Himanshu Gupta [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Question
I guys, i have one question .
I wana persist XML to DB.
How should i do it, i have a XML file.
I think :
1) Via XML DB, bump the whole XML.
2) Via Castor JDO, construct java objects by XML, and then dump it.It there any better option i have not yet explored.
Thanx.
Himanshu
'This e- mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete this e- mail immediately. Please note that any views or opinions presented in this e- mail are solely those of the author and do not necessarily represent those of Birlasoft.The recipient should check this email and any attachments for the presence of viruses. Birlasoft accepts no liability for any damage caused by any virus transmitted by this email.'
Title: Message
Hi,
If
you about storing some data, transfered by XML to DB, then you may use Castor.
In this case you know structure of XML and then may get Java Object from XML by
castor (unmarshaling), and then persist it in DB storage (Castor
JDO).
But
if you want to tore XML files in DB, i think Castor is not good solution for
it.
Thanks!
- [castor-dev] Question Mike Alba
- [castor-dev] Question Himanshu Gupta
- Alexey A. Efimov
