Hi David,

I saw your earlier mail on this topic but did not respond as I am not able to help you with your problem as I am mainly focused on the JDO side of castor and my knowledge on the XML side is quite limited. Please be aware that castor is an open source project and that people working at it do not always have the time they wanted to or is needed to respond to every request.

Having said that I share your opinon that what you want to do should be posible. But I am in the same position that you are as I also don't know how. I can only suggest you to wait for a response of one with more knowledge on XML things or to take a look at the castor source yourself to find out how it works.

If you at least managed to get things working it would be great if you could write a short howto that I could add to docs to help others being in the same situation.


Sorry for any inconvenience
Ralf
Castor JDO, committer


David schrieb:
Dear Members,
I have a typical file like this: <bookstore>
<book> </book>
<book> </book>
...
<book> </book>
</bookstore>
if the file is big enough I can't load the whole book store at once, my idea is to take one by one each <book> information (or a fixed numbers of book elements for avoiding overflow), then for example store into database and then to take the next one, so I want to parse book event, process it and then to go to the next one. ¿How can we do it with castor? If I bind the hole bookstore element into BookStore class with million of books I get Overflow for sure. It should be a solution where the unmarshall process get each time a book then you process it (for example stores into database) and go to the next book without creation a new object for example each time or doing by a package of certain number of books each time. Thanks in advance, David Leal
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

------------------------------------------------------------------------
Relax. Yahoo! Mail virus scanning <http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221> helps detect nasty viruses!

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to