You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Valerio Schiavoni <va...@gmail.com> on 2005/12/31 19:21:02 UTC

[digester] put data into a database

Hello
i have some xml documents i want to map into a relational database (accessed
via jdbc).
i found this example:
http://svn.apache.org/repos/asf/jakarta/commons/proper/digester/trunk/src/examples/api/dbinsert/

and also this project:
http://www.schuerig.de/michael/java/dbdigester/

they both address my needs, at two different level.
Are there other alternatives over those two?

this is the xml i have as input:
<instance page_id="" id="database_" schema_name="database">
    <relation name="testNewName">
        <tuple>
            <attribute label="_thisWasA_">data</attribute>
        </tuple>
    </relation>
</instance>

as you can see, it maps 1:1 to a relational schema.

thanks for any advice

valerio
--
To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs