[digester] put data into a database

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[digester] put data into a database

Valerio
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